Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.000994, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007802/0.007803, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.784/2.784, allocations: 462.7 MB / 0.7364 GB, free: 236 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 9.094 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3317, allocations: 159.6 MB / 1.059 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1864/0.5182, allocations: 165 MB / 1.22 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009/0.5272, allocations: 7.098 MB / 1.227 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005704/0.5278, allocations: 15.88 kB / 1.227 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.5285, allocations: 131.1 kB / 1.227 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003141/0.5316, allocations: 1.187 MB / 1.228 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.5333, allocations: 0.5828 MB / 1.229 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.5346, allocations: 1.057 MB / 1.23 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.535, allocations: 238.1 kB / 1.23 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.5362, allocations: 0.5253 MB / 1.23 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008005/0.537, allocations: 418.5 kB / 1.231 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.5371, allocations: 16 kB / 1.231 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.5394, allocations: 1.469 MB / 1.232 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.5396, allocations: 107.6 kB / 1.232 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.5398, allocations: 192.8 kB / 1.233 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.5411, allocations: 0.9582 MB / 1.233 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5411, allocations: 0 / 1.233 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5411, allocations: 3.938 kB / 1.233 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.5411, allocations: 0 / 1.233 GB, free: 1.758 MB / 0.9825 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.0009801/0.5421, allocations: 0.6441 MB / 1.234 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.5422, allocations: 12.03 kB / 1.234 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009672/0.5431, allocations: 127.4 kB / 1.234 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.5435, allocations: 321.2 kB / 1.235 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.672e-05/0.5436, allocations: 54.27 kB / 1.235 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.5437, allocations: 24 kB / 1.235 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.5443, allocations: 370.2 kB / 1.235 GB, free: 116 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5444, allocations: 0 / 1.235 GB, free: 116 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.5444, allocations: 15.94 kB / 1.235 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.5444, allocations: 4 kB / 1.235 GB, free: 96 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/0.5451, allocations: 298 kB / 1.235 GB, free: 15.8 MB / 0.9981 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.001929/0.547, allocations: 1.496 MB / 1.237 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.5474, allocations: 206.5 kB / 1.237 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.5477, allocations: 124.8 kB / 1.237 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000967/0.5486, allocations: 0.517 MB / 1.238 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.5487, allocations: 34.56 kB / 1.238 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.5487, allocations: 0 / 1.238 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0009425/0.5496, allocations: 375.8 kB / 1.238 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.5497, allocations: 55.34 kB / 1.238 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.55, allocations: 312.5 kB / 1.238 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.55, allocations: 29.7 kB / 1.238 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.5502, allocations: 192 kB / 1.239 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.5502, allocations: 51.14 kB / 1.239 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.5503, allocations: 25.72 kB / 1.239 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5504, allocations: 342.8 kB / 1.239 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.5506, allocations: 91.92 kB / 1.239 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.5509, allocations: 161.9 kB / 1.239 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.5513, allocations: 237.8 kB / 1.239 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.5513, allocations: 4 kB / 1.239 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000571/0.5519, allocations: 298.7 kB / 1.24 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5519, allocations: 4 kB / 1.24 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5519, allocations: 8 kB / 1.24 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.552, allocations: 0 / 1.24 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.5522, allocations: 48.09 kB / 1.24 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.5522, allocations: 4 kB / 1.24 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.5524, allocations: 39.73 kB / 1.24 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.5525, allocations: 15.98 kB / 1.24 GB, free: 10.84 MB / 0.9981 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.000156/0.5526, allocations: 149.7 kB / 1.24 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.5527, allocations: 31.62 kB / 1.24 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007042/0.5535, allocations: 328.1 kB / 1.24 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5535, allocations: 3.938 kB / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.5535, allocations: 4 kB / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5535, allocations: 4 kB / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.5548, allocations: 0.8161 MB / 1.241 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.5548, allocations: 0 / 1.241 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.555, allocations: 35.97 kB / 1.241 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.555, allocations: 7.938 kB / 1.241 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.555, allocations: 8.219 kB / 1.241 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.555, allocations: 11.94 kB / 1.241 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.555, allocations: 0 / 1.241 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.5556, allocations: 407.5 kB / 1.242 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.5558, allocations: 140.6 kB / 1.242 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.5558, allocations: 7.938 kB / 1.242 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.5561, allocations: 28.08 kB / 1.242 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.5562, allocations: 19.91 kB / 1.242 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.5562, allocations: 12 kB / 1.242 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002258/0.5564, allocations: 227 kB / 1.242 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/0.5564, allocations: 4 kB / 1.242 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000547/0.557, allocations: 119.8 kB / 1.242 GB, free: 8.359 MB / 0.9981 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.0006692/0.5577, allocations: 231 kB / 1.242 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.5582, allocations: 227.7 kB / 1.242 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5582, allocations: 0 / 1.242 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.5584, allocations: 120.6 kB / 1.243 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009808/0.5594, allocations: 169.6 kB / 1.243 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.5606, allocations: 0.7229 MB / 1.243 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.5609, allocations: 0.7876 MB / 1.244 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002774/0.5612, allocations: 86.86 kB / 1.244 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.5613, allocations: 31.44 kB / 1.244 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.5613, allocations: 0 / 1.244 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of Templates: time 0.6225/1.184, allocations: 6.947 MB / 1.251 GB, free: 192.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches