Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 196 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.2 MB / 0.6644 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.5499, allocations: 140.4 MB / 0.9492 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1862/0.7361, allocations: 167.2 MB / 1.112 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008729/0.7449, allocations: 7.098 MB / 1.119 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005882/0.7455, allocations: 15.88 kB / 1.119 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006213/0.7462, allocations: 139.1 kB / 1.12 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.7496, allocations: 1.187 MB / 1.121 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.7513, allocations: 0.5895 MB / 1.121 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.7524, allocations: 0.768 MB / 1.122 GB, free: 432 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/0.7529, allocations: 274.7 kB / 1.122 GB, free: 156 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.7542, allocations: 0.5566 MB / 1.123 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008863/0.7551, allocations: 446.5 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.7552, allocations: 24 kB / 1.123 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.7573, allocations: 1.309 MB / 1.125 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.7574, allocations: 111.7 kB / 1.125 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.7577, allocations: 187.1 kB / 1.125 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.7595, allocations: 0.9777 MB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7595, allocations: 0 / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7595, allocations: 0 / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.7595, allocations: 4 kB / 1.126 GB, free: 12.54 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009433/0.7604, allocations: 0.6935 MB / 1.126 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.7605, allocations: 8.031 kB / 1.126 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.263e-05/0.7606, allocations: 58.55 kB / 1.127 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000957/0.7615, allocations: 127.4 kB / 1.127 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.7619, allocations: 325.1 kB / 1.127 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/0.762, allocations: 46.27 kB / 1.127 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.762, allocations: 32 kB / 1.127 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.7627, allocations: 370.1 kB / 1.127 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.7627, allocations: 0 / 1.127 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.7627, allocations: 8 kB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.7627, allocations: 8 kB / 1.127 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.7632, allocations: 282 kB / 1.128 GB, free: 10.48 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.7649, allocations: 1.492 MB / 1.129 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.7653, allocations: 190.6 kB / 1.129 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.7655, allocations: 116.7 kB / 1.129 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009518/0.7665, allocations: 0.5014 MB / 1.13 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.7665, allocations: 42.56 kB / 1.13 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.7665, allocations: 3.938 kB / 1.13 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0008678/0.7674, allocations: 354.6 kB / 1.13 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.7674, allocations: 55.41 kB / 1.13 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.7677, allocations: 316.5 kB / 1.131 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.7678, allocations: 33.7 kB / 1.131 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.7679, allocations: 184 kB / 1.131 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.7679, allocations: 51.34 kB / 1.131 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.768, allocations: 45.61 kB / 1.131 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.7681, allocations: 346.7 kB / 1.131 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.7683, allocations: 83.94 kB / 1.131 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.7685, allocations: 153.8 kB / 1.132 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.7689, allocations: 234.8 kB / 1.132 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7689, allocations: 0 / 1.132 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000542/0.7695, allocations: 278 kB / 1.132 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7695, allocations: 8.188 kB / 1.132 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7695, allocations: 7.938 kB / 1.132 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7695, allocations: 4 kB / 1.132 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.7698, allocations: 43.97 kB / 1.132 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.7698, allocations: 0 / 1.132 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.77, allocations: 39.66 kB / 1.132 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.7701, allocations: 12 kB / 1.132 GB, free: 5.605 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.7702, allocations: 157.7 kB / 1.132 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.7703, allocations: 27.62 kB / 1.132 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006599/0.771, allocations: 316.1 kB / 1.133 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.771, allocations: 0 / 1.133 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.771, allocations: 7.938 kB / 1.133 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.771, allocations: 0 / 1.133 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.7722, allocations: 0.8084 MB / 1.133 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7722, allocations: 4 kB / 1.133 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.7724, allocations: 35.91 kB / 1.133 GB, free: 4.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.7725, allocations: 7.938 kB / 1.133 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.7725, allocations: 8 kB / 1.133 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.7725, allocations: 4 kB / 1.133 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7725, allocations: 7.875 kB / 1.133 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.773, allocations: 399.3 kB / 1.134 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.7732, allocations: 132.8 kB / 1.134 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.7732, allocations: 11.94 kB / 1.134 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.7735, allocations: 19.97 kB / 1.134 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.7736, allocations: 19.92 kB / 1.134 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.7736, allocations: 8 kB / 1.134 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001955/0.7738, allocations: 231 kB / 1.134 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7738, allocations: 0 / 1.134 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004689/0.7743, allocations: 123.8 kB / 1.134 GB, free: 3.156 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/0.7755, allocations: 1.066 MB / 1.135 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.776, allocations: 227.7 kB / 1.136 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.776, allocations: 0 / 1.136 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.7762, allocations: 115.8 kB / 1.136 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.777, allocations: 165.7 kB / 1.136 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.7806, allocations: 3.151 MB / 1.139 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.7809, allocations: 0.7873 MB / 1.14 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002896/0.7812, allocations: 78.92 kB / 1.14 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.7814, allocations: 99.41 kB / 1.14 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of SimCode: time 1.693e-06/0.7814, allocations: 0 / 1.14 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.492/3.274, allocations: 10.26 MB / 1.15 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/3.274, allocations: 243.8 kB / 1.15 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/5.875, allocations: 0 / 1.15 GB, free: 2.953 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches