Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.058/3.058, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8108 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.57e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2378/0.2378, allocations: 149.5 MB / 0.9568 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.2479, allocations: 6.527 MB / 0.9632 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004803/0.2484, allocations: 19.81 kB / 0.9632 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009357/0.2493, allocations: 182.6 kB / 0.9634 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.2533, allocations: 1.314 MB / 0.9647 GB, free: 3.996 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.2552, allocations: 0.7008 MB / 0.9653 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.2563, allocations: 0.7522 MB / 0.9661 GB, free: 2.535 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004684/0.2568, allocations: 239.3 kB / 0.9663 GB, free: 2.305 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.2587, allocations: 0.8447 MB / 0.9671 GB, free: 1.457 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009193/0.2596, allocations: 410.8 kB / 0.9675 GB, free: 1.055 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.827e-05/0.2597, allocations: 28 kB / 0.9676 GB, free: 1.027 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.2619, allocations: 1.051 MB / 0.9686 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.262, allocations: 123.6 kB / 0.9687 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.2622, allocations: 127.6 kB / 0.9688 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.2639, allocations: 0.923 MB / 0.9697 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2639, allocations: 4 kB / 0.9697 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2639, allocations: 0 / 0.9697 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.2639, allocations: 0 / 0.9697 GB, free: 14.8 MB / 0.9323 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.001177/0.2651, allocations: 0.6251 MB / 0.9703 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2651, allocations: 16.02 kB / 0.9703 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.2665, allocations: 191.1 kB / 0.9705 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.2671, allocations: 284 kB / 0.9708 GB, free: 13.63 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.2673, allocations: 80.06 kB / 0.9709 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.2673, allocations: 27.98 kB / 0.9709 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/0.2681, allocations: 396.9 kB / 0.9713 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2681, allocations: 0 / 0.9713 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.2682, allocations: 8 kB / 0.9713 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2682, allocations: 8 kB / 0.9713 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.2688, allocations: 273.8 kB / 0.9716 GB, free: 12.82 MB / 0.9323 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.001961/0.2707, allocations: 1.082 MB / 0.9726 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.2712, allocations: 182.5 kB / 0.9728 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.2714, allocations: 112.8 kB / 0.9729 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008283/0.2723, allocations: 139.8 kB / 0.973 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.2723, allocations: 38.5 kB / 0.9731 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.2723, allocations: 0 / 0.9731 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.00107/0.2734, allocations: 370.8 kB / 0.9734 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.2734, allocations: 55.41 kB / 0.9735 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.2737, allocations: 229.9 kB / 0.9737 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.2738, allocations: 33.7 kB / 0.9737 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.2739, allocations: 196.5 kB / 0.9739 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.274, allocations: 55.53 kB / 0.974 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.474e-05/0.2741, allocations: 41.7 kB / 0.974 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.2743, allocations: 334.8 kB / 0.9743 GB, free: 9.867 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.2745, allocations: 83.94 kB / 0.9744 GB, free: 9.785 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.2748, allocations: 233.3 kB / 0.9746 GB, free: 9.52 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.2754, allocations: 245.8 kB / 0.9749 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2754, allocations: 0 / 0.9749 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006542/0.276, allocations: 285.3 kB / 0.9751 GB, free: 8.973 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.276, allocations: 11.94 kB / 0.9751 GB, free: 8.961 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.276, allocations: 3.984 kB / 0.9751 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.2761, allocations: 4 kB / 0.9752 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.2763, allocations: 39.92 kB / 0.9752 GB, free: 8.914 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2763, allocations: 4 kB / 0.9752 GB, free: 8.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.2765, allocations: 23.88 kB / 0.9752 GB, free: 8.887 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.2766, allocations: 19.98 kB / 0.9752 GB, free: 8.867 MB / 0.9323 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.0001913/0.2767, allocations: 145.8 kB / 0.9754 GB, free: 8.715 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.2769, allocations: 43.8 kB / 0.9754 GB, free: 8.672 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007875/0.2777, allocations: 307.1 kB / 0.9757 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2777, allocations: 0 / 0.9757 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2777, allocations: 0 / 0.9757 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2777, allocations: 3.938 kB / 0.9757 GB, free: 8.359 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.2791, allocations: 0.7144 MB / 0.9764 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2791, allocations: 0 / 0.9764 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.2793, allocations: 35.92 kB / 0.9764 GB, free: 7.551 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.2793, allocations: 0 / 0.9764 GB, free: 7.551 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.2793, allocations: 11.98 kB / 0.9765 GB, free: 7.539 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2793, allocations: 4 kB / 0.9765 GB, free: 7.535 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2794, allocations: 4.219 kB / 0.9765 GB, free: 7.531 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.2801, allocations: 411.4 kB / 0.9769 GB, free: 7.094 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.2802, allocations: 43.83 kB / 0.9769 GB, free: 7.051 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.2802, allocations: 8 kB / 0.9769 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.2805, allocations: 11.98 kB / 0.9769 GB, free: 7.031 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.2805, allocations: 31.88 kB / 0.9769 GB, free: 7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.2806, allocations: 8 kB / 0.977 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001852/0.2808, allocations: 169.2 kB / 0.9771 GB, free: 6.828 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.2808, allocations: 4 kB / 0.9771 GB, free: 6.824 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005969/0.2813, allocations: 131.6 kB / 0.9772 GB, free: 6.695 MB / 0.9323 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.0008985/0.2822, allocations: 234.8 kB / 0.9775 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005573/0.2828, allocations: 207.7 kB / 0.9777 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2828, allocations: 4 kB / 0.9777 GB, free: 6.25 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.2831, allocations: 120.2 kB / 0.9778 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007451/0.2838, allocations: 108.6 kB / 0.9779 GB, free: 6.031 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2853, allocations: 0.5782 MB / 0.9785 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2855, allocations: 180.8 kB / 0.9786 GB, free: 5.207 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002908/0.2858, allocations: 74.19 kB / 0.9787 GB, free: 5.129 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.286, allocations: 32.44 kB / 0.9787 GB, free: 5.094 MB / 0.9323 GB Notification: Performance of SimCode: time 1.363e-06/0.286, allocations: 0 / 0.9787 GB, free: 5.094 MB / 0.9323 GB Notification: Performance of Templates: time 0.01443/0.3004, allocations: 6.081 MB / 0.9847 GB, free: 15.14 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.672875894000754]