Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 113.5 kB / 16.42 MB, free: 6.492 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.001658/0.001658, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.512/2.512, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7377/0.7391, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1601/0.8992, allocations: 163.2 MB / 1.368 GB, free: 9.762 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005692/0.905, allocations: 4.57 MB / 1.372 GB, free: 5.184 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004142/0.9054, allocations: 11.94 kB / 1.372 GB, free: 5.172 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.9059, allocations: 123.1 kB / 1.372 GB, free: 5.051 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.9076, allocations: 0.564 MB / 1.373 GB, free: 4.484 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.9095, allocations: 0.7803 MB / 1.374 GB, free: 3.703 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0007988/0.9103, allocations: 0.5768 MB / 1.374 GB, free: 3.125 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.9107, allocations: 221 kB / 1.375 GB, free: 2.906 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.9118, allocations: 474.2 kB / 1.375 GB, free: 2.441 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.9123, allocations: 294.9 kB / 1.375 GB, free: 2.152 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.9124, allocations: 20 kB / 1.375 GB, free: 2.133 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.914, allocations: 1.009 MB / 1.376 GB, free: 1.121 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.9141, allocations: 83.78 kB / 1.376 GB, free: 1.039 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.9143, allocations: 135.4 kB / 1.376 GB, free: 0.9062 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.9155, allocations: 0.7148 MB / 1.377 GB, free: 196 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.9155, allocations: 0 / 1.377 GB, free: 196 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9155, allocations: 0 / 1.377 GB, free: 196 kB / 1.092 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.9155, allocations: 0 / 1.377 GB, free: 196 kB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001042/0.9166, allocations: 0.588 MB / 1.378 GB, free: 15.55 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9166, allocations: 8.031 kB / 1.378 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006819/0.9173, allocations: 83.44 kB / 1.378 GB, free: 15.46 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.9177, allocations: 303.3 kB / 1.378 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.9177, allocations: 12 kB / 1.378 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.9178, allocations: 23.91 kB / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.9183, allocations: 283.4 kB / 1.378 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.9183, allocations: 0 / 1.378 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.9183, allocations: 8 kB / 1.378 GB, free: 14.78 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.9183, allocations: 7.938 kB / 1.378 GB, free: 14.77 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.9188, allocations: 207.8 kB / 1.379 GB, free: 14.57 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.9203, allocations: 1.245 MB / 1.38 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.9206, allocations: 173 kB / 1.38 GB, free: 13.03 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.9208, allocations: 120.3 kB / 1.38 GB, free: 12.9 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007407/0.9215, allocations: 327.2 kB / 1.38 GB, free: 12.52 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.9216, allocations: 38.56 kB / 1.38 GB, free: 12.48 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.9216, allocations: 4 kB / 1.38 GB, free: 12.47 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0007524/0.9223, allocations: 277.1 kB / 1.381 GB, free: 12.2 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.9224, allocations: 154.2 kB / 1.381 GB, free: 12.01 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.9227, allocations: 283.5 kB / 1.381 GB, free: 11.72 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.9227, allocations: 37.7 kB / 1.381 GB, free: 11.68 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.9228, allocations: 147.8 kB / 1.381 GB, free: 11.53 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.9229, allocations: 43.39 kB / 1.381 GB, free: 11.48 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.9229, allocations: 41.61 kB / 1.381 GB, free: 11.44 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9231, allocations: 343.1 kB / 1.382 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.9232, allocations: 67.94 kB / 1.382 GB, free: 11.03 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.9234, allocations: 148.5 kB / 1.382 GB, free: 10.85 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.9238, allocations: 215.4 kB / 1.382 GB, free: 10.61 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.9238, allocations: 4 kB / 1.382 GB, free: 10.61 MB / 1.107 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004975/0.9243, allocations: 241.1 kB / 1.382 GB, free: 10.37 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.9244, allocations: 8 kB / 1.382 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9244, allocations: 0 / 1.382 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.9244, allocations: 4 kB / 1.382 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.9246, allocations: 43.86 kB / 1.382 GB, free: 10.31 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.9246, allocations: 4 kB / 1.382 GB, free: 10.31 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.9248, allocations: 35.98 kB / 1.382 GB, free: 10.27 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.9249, allocations: 15.98 kB / 1.383 GB, free: 10.26 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001342/0.925, allocations: 153.6 kB / 1.383 GB, free: 10.1 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.9252, allocations: 23.72 kB / 1.383 GB, free: 10.07 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.9256, allocations: 185.8 kB / 1.383 GB, free: 9.871 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.9256, allocations: 0 / 1.383 GB, free: 9.871 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9256, allocations: 0 / 1.383 GB, free: 9.871 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.9257, allocations: 112.8 kB / 1.383 GB, free: 9.742 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.9258, allocations: 7.938 kB / 1.383 GB, free: 9.734 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.926, allocations: 11.98 kB / 1.383 GB, free: 9.723 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.9261, allocations: 11.98 kB / 1.383 GB, free: 9.711 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004985/0.9266, allocations: 0.529 MB / 1.384 GB, free: 9.172 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006458/0.9273, allocations: 0.6792 MB / 1.384 GB, free: 8.473 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001438/0.9274, allocations: 51.98 kB / 1.384 GB, free: 8.422 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00022/0.9276, allocations: 237.9 kB / 1.384 GB, free: 8.191 MB / 1.107 GB Notification: Performance of Backend: time 5.91e-07/0.9277, allocations: 0 / 1.384 GB, free: 8.191 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.9292, allocations: 411 kB / 1.385 GB, free: 7.797 MB / 1.107 GB Notification: Performance of SimCode: time 0.001369/0.9306, allocations: 1.014 MB / 1.386 GB, free: 6.738 MB / 1.107 GB Notification: Performance of Templates: time 0.01369/0.9443, allocations: 7.969 MB / 1.394 GB, free: 14.83 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches