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: 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_9_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_9_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.001567/0.001567, allocations: 110.7 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.001784/0.001784, 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.187/2.187, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.7009, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1869/0.8879, allocations: 169.4 MB / 1.254 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008045/0.8959, allocations: 7.123 MB / 1.261 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.8964, allocations: 11.94 kB / 1.261 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.897, allocations: 170.7 kB / 1.261 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.9001, allocations: 1.311 MB / 1.263 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.9017, allocations: 0.6418 MB / 1.263 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009181/0.9026, allocations: 0.7641 MB / 1.264 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004576/0.9031, allocations: 291.2 kB / 1.264 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.9042, allocations: 0.5838 MB / 1.265 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007824/0.905, allocations: 432.4 kB / 1.265 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.9051, allocations: 24 kB / 1.265 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.9071, allocations: 1.255 MB / 1.266 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.9072, allocations: 115.7 kB / 1.267 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.9074, allocations: 179.1 kB / 1.267 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.9088, allocations: 0.8999 MB / 1.268 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.9089, allocations: 4 kB / 1.268 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9089, allocations: 0 / 1.268 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.9089, allocations: 0 / 1.268 GB, free: 6.465 MB / 0.9981 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.001046/0.9099, allocations: 0.6935 MB / 1.268 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.91, allocations: 11.97 kB / 1.268 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.9111, allocations: 127.4 kB / 1.268 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.9116, allocations: 345.1 kB / 1.269 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.388e-05/0.9117, allocations: 54.25 kB / 1.269 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.9117, allocations: 24 kB / 1.269 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.9124, allocations: 370.1 kB / 1.269 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.9124, allocations: 0 / 1.269 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.9124, allocations: 15.94 kB / 1.269 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.9124, allocations: 11.98 kB / 1.269 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.913, allocations: 274 kB / 1.269 GB, free: 4.445 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.001811/0.9148, allocations: 1.484 MB / 1.271 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.9152, allocations: 194.6 kB / 1.271 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.9154, allocations: 112.8 kB / 1.271 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009169/0.9163, allocations: 0.5092 MB / 1.272 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.9164, allocations: 38.56 kB / 1.272 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.9164, allocations: 0 / 1.272 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000917/0.9173, allocations: 359.8 kB / 1.272 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.9173, allocations: 51.41 kB / 1.272 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.9176, allocations: 316.5 kB / 1.272 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.9177, allocations: 29.7 kB / 1.272 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.9178, allocations: 192 kB / 1.273 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.9178, allocations: 47.27 kB / 1.273 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.9179, allocations: 45.7 kB / 1.273 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.918, allocations: 338.8 kB / 1.273 GB, free: 488 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.9182, allocations: 83.92 kB / 1.273 GB, free: 404 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.9185, allocations: 149.9 kB / 1.273 GB, free: 232 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.9189, allocations: 237.8 kB / 1.273 GB, free: 15.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.9189, allocations: 7.938 kB / 1.273 GB, free: 15.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005842/0.9195, allocations: 285 kB / 1.274 GB, free: 15.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9195, allocations: 4 kB / 1.274 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9195, allocations: 8.188 kB / 1.274 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.9195, allocations: 0 / 1.274 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.9198, allocations: 47.91 kB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.9198, allocations: 4 kB / 1.274 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.92, allocations: 23.77 kB / 1.274 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.92, allocations: 16 kB / 1.274 GB, free: 15.57 MB / 1.014 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.0001439/0.9202, allocations: 149.7 kB / 1.274 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.9203, allocations: 31.62 kB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000671/0.921, allocations: 312.1 kB / 1.274 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.921, allocations: 7.938 kB / 1.274 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.921, allocations: 3.984 kB / 1.274 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.9212, allocations: 132.6 kB / 1.274 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.9212, allocations: 0 / 1.274 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.9215, allocations: 15.98 kB / 1.274 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.9215, allocations: 23.8 kB / 1.274 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005561/0.9221, allocations: 320.8 kB / 1.275 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005815/0.9227, allocations: 428.8 kB / 1.275 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002016/0.9229, allocations: 107.9 kB / 1.275 GB, free: 14.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001944/0.9231, allocations: 227 kB / 1.276 GB, free: 13.8 MB / 1.014 GB Notification: Performance of Backend: time 4.41e-07/0.9231, allocations: 0 / 1.276 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.9245, allocations: 467.1 kB / 1.276 GB, free: 13.34 MB / 1.014 GB Notification: Performance of SimCode: time 0.001364/0.9259, allocations: 1.063 MB / 1.277 GB, free: 12.23 MB / 1.014 GB Notification: Performance of Templates: time 0.01527/0.9412, allocations: 9.671 MB / 1.286 GB, free: 2.637 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (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 & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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