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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009187/0.0009187, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.006548/0.006548, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.5395, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1473/0.6868, allocations: 165 MB / 1.116 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0076/0.6944, allocations: 7.105 MB / 1.123 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.6948, allocations: 11.94 kB / 1.123 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.6952, allocations: 147 kB / 1.123 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.6977, allocations: 1.183 MB / 1.125 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.699, allocations: 0.5783 MB / 1.125 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.7001, allocations: 1.049 MB / 1.126 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.7006, allocations: 250 kB / 1.126 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009711/0.7015, allocations: 0.5214 MB / 1.127 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006859/0.7022, allocations: 418.5 kB / 1.127 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.7023, allocations: 16 kB / 1.127 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.7043, allocations: 1.469 MB / 1.129 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.7044, allocations: 111.7 kB / 1.129 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.7047, allocations: 188.8 kB / 1.129 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.706, allocations: 0.9698 MB / 1.13 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.706, allocations: 0 / 1.13 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.333e-06/0.706, allocations: 0 / 1.13 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.706, allocations: 0 / 1.13 GB, free: 11.69 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.0009176/0.7069, allocations: 0.6312 MB / 1.131 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.707, allocations: 12.03 kB / 1.131 GB, free: 11 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.786e-05/0.7071, allocations: 62.55 kB / 1.131 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009248/0.708, allocations: 131.3 kB / 1.131 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.7084, allocations: 329.2 kB / 1.131 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.7085, allocations: 46.27 kB / 1.131 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.7086, allocations: 31.94 kB / 1.131 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.7092, allocations: 370.2 kB / 1.132 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.7092, allocations: 4 kB / 1.132 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.7093, allocations: 8 kB / 1.132 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.7093, allocations: 11.94 kB / 1.132 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.7098, allocations: 290 kB / 1.132 GB, free: 9.664 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.0017/0.7115, allocations: 1.503 MB / 1.133 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.7119, allocations: 198.6 kB / 1.133 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.7121, allocations: 128.7 kB / 1.134 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009012/0.713, allocations: 0.5209 MB / 1.134 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.7131, allocations: 34.56 kB / 1.134 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.7131, allocations: 0 / 1.134 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0008883/0.714, allocations: 375.4 kB / 1.135 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.714, allocations: 55.41 kB / 1.135 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.7143, allocations: 312.5 kB / 1.135 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.7143, allocations: 29.7 kB / 1.135 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.7145, allocations: 188 kB / 1.135 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.7145, allocations: 43.36 kB / 1.135 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.7146, allocations: 25.7 kB / 1.135 GB, free: 6 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.7147, allocations: 346.8 kB / 1.135 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.7149, allocations: 91.86 kB / 1.136 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.7151, allocations: 151.1 kB / 1.136 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.7155, allocations: 247.1 kB / 1.136 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7155, allocations: 0 / 1.136 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005483/0.7161, allocations: 297 kB / 1.136 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.7161, allocations: 8 kB / 1.136 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.7161, allocations: 3.938 kB / 1.136 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.7161, allocations: 4 kB / 1.136 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.7163, allocations: 39.97 kB / 1.136 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.7164, allocations: 12.12 kB / 1.136 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.7166, allocations: 39.67 kB / 1.136 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.7166, allocations: 12 kB / 1.136 GB, free: 4.719 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.0001442/0.7168, allocations: 149.8 kB / 1.136 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.7169, allocations: 35.61 kB / 1.137 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006986/0.7176, allocations: 316.2 kB / 1.137 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.7176, allocations: 4 kB / 1.137 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.7176, allocations: 0 / 1.137 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7176, allocations: 4 kB / 1.137 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.7188, allocations: 0.8161 MB / 1.138 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.7188, allocations: 4 kB / 1.138 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.719, allocations: 31.98 kB / 1.138 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.719, allocations: 8.031 kB / 1.138 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.719, allocations: 19.86 kB / 1.138 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.719, allocations: 4.156 kB / 1.138 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.719, allocations: 8 kB / 1.138 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.7196, allocations: 412.9 kB / 1.138 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.7197, allocations: 132.6 kB / 1.138 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.7198, allocations: 11.98 kB / 1.138 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.72, allocations: 27.98 kB / 1.138 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.7201, allocations: 15.98 kB / 1.138 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.7201, allocations: 11.98 kB / 1.138 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002002/0.7203, allocations: 223.1 kB / 1.138 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7203, allocations: 0 / 1.138 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004485/0.7208, allocations: 127.8 kB / 1.139 GB, free: 2.234 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.001206/0.722, allocations: 1.085 MB / 1.14 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.7225, allocations: 223.7 kB / 1.14 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7225, allocations: 384 / 1.14 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.7227, allocations: 127.7 kB / 1.14 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/0.7236, allocations: 152.6 kB / 1.14 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.7273, allocations: 3.193 MB / 1.143 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.7276, allocations: 0.7915 MB / 1.144 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002624/0.7279, allocations: 82.98 kB / 1.144 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.7281, allocations: 95.41 kB / 1.144 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.7281, allocations: 0 / 1.144 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.558/4.286, allocations: 9.892 MB / 1.154 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/4.286, allocations: 240.4 kB / 1.154 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/6.337, allocations: 0 / 1.154 GB, free: 2.348 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