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.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.001462/0.001462, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001587/0.001587, allocations: 213.8 kB / 22.99 MB, free: 4.941 MB / 14.72 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.349/3.349, allocations: 0.5107 GB / 0.8166 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 77.08 kB / 1.187 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.37, allocations: 181.8 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1996/0.5697, allocations: 149.6 MB / 1.511 GB, free: 7.438 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.5799, allocations: 6.541 MB / 1.517 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005505/0.5804, allocations: 19.81 kB / 1.517 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.5811, allocations: 182.7 kB / 1.517 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.5848, allocations: 1.292 MB / 1.519 GB, free: 15.38 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.5868, allocations: 0.6505 MB / 1.519 GB, free: 14.74 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.588, allocations: 0.7641 MB / 1.52 GB, free: 13.97 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005684/0.5886, allocations: 246.9 kB / 1.52 GB, free: 13.73 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.5904, allocations: 0.7318 MB / 1.521 GB, free: 12.99 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009095/0.5914, allocations: 442.4 kB / 1.521 GB, free: 12.56 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.5914, allocations: 24 kB / 1.521 GB, free: 12.54 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.5935, allocations: 1.036 MB / 1.522 GB, free: 11.5 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.5937, allocations: 119.6 kB / 1.522 GB, free: 11.38 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.5939, allocations: 151.3 kB / 1.523 GB, free: 11.23 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.5956, allocations: 0.8644 MB / 1.523 GB, free: 10.36 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5956, allocations: 0 / 1.523 GB, free: 10.36 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5956, allocations: 4 kB / 1.523 GB, free: 10.36 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.5956, allocations: 0 / 1.523 GB, free: 10.36 MB / 1.217 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.001237/0.5968, allocations: 0.629 MB / 1.524 GB, free: 9.699 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5969, allocations: 12.03 kB / 1.524 GB, free: 9.688 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.598, allocations: 131.6 kB / 1.524 GB, free: 9.559 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007062/0.5987, allocations: 283.5 kB / 1.524 GB, free: 9.258 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.791e-05/0.5988, allocations: 72.06 kB / 1.524 GB, free: 9.176 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.5988, allocations: 28 kB / 1.525 GB, free: 9.148 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007433/0.5996, allocations: 396.9 kB / 1.525 GB, free: 8.734 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.5996, allocations: 0 / 1.525 GB, free: 8.734 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.5996, allocations: 12 kB / 1.525 GB, free: 8.723 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5996, allocations: 8 kB / 1.525 GB, free: 8.715 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.6002, allocations: 273.7 kB / 1.525 GB, free: 8.445 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.6023, allocations: 1.07 MB / 1.526 GB, free: 7.328 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.6027, allocations: 190.5 kB / 1.526 GB, free: 7.133 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.603, allocations: 120.7 kB / 1.527 GB, free: 7.012 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007721/0.6038, allocations: 127.9 kB / 1.527 GB, free: 6.887 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.6038, allocations: 42.55 kB / 1.527 GB, free: 6.836 MB / 1.217 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.6038, allocations: 0 / 1.527 GB, free: 6.836 MB / 1.217 GB Notification: Performance of matching and sorting (n=15): time 0.0009897/0.6048, allocations: 349.2 kB / 1.527 GB, free: 6.488 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.6048, allocations: 55.41 kB / 1.527 GB, free: 6.422 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.6052, allocations: 237.9 kB / 1.527 GB, free: 6.18 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.6052, allocations: 29.7 kB / 1.527 GB, free: 6.145 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.6054, allocations: 196.5 kB / 1.528 GB, free: 5.949 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/0.6055, allocations: 51.53 kB / 1.528 GB, free: 5.898 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.6056, allocations: 45.7 kB / 1.528 GB, free: 5.848 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002364/0.6058, allocations: 334.8 kB / 1.528 GB, free: 5.512 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.606, allocations: 91.92 kB / 1.528 GB, free: 5.422 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.6063, allocations: 224.2 kB / 1.528 GB, free: 5.164 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.6068, allocations: 233.8 kB / 1.528 GB, free: 4.914 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6068, allocations: 0 / 1.528 GB, free: 4.914 MB / 1.217 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006191/0.6074, allocations: 285.3 kB / 1.529 GB, free: 4.629 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.6074, allocations: 8 kB / 1.529 GB, free: 4.621 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6074, allocations: 0 / 1.529 GB, free: 4.621 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.6074, allocations: 4 kB / 1.529 GB, free: 4.617 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.6077, allocations: 47.91 kB / 1.529 GB, free: 4.57 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6077, allocations: 0 / 1.529 GB, free: 4.57 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.6079, allocations: 27.83 kB / 1.529 GB, free: 4.543 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.6079, allocations: 12 kB / 1.529 GB, free: 4.531 MB / 1.217 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.0001901/0.6081, allocations: 158.9 kB / 1.529 GB, free: 4.367 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.6082, allocations: 23.86 kB / 1.529 GB, free: 4.344 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007366/0.6089, allocations: 306 kB / 1.529 GB, free: 4.043 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6089, allocations: 4 kB / 1.529 GB, free: 4.039 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.609, allocations: 0 / 1.529 GB, free: 4.039 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.609, allocations: 0 / 1.529 GB, free: 4.039 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.6104, allocations: 0.7182 MB / 1.53 GB, free: 3.262 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6104, allocations: 0 / 1.53 GB, free: 3.262 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.6106, allocations: 39.91 kB / 1.53 GB, free: 3.223 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.6106, allocations: 4 kB / 1.53 GB, free: 3.219 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.6106, allocations: 8 kB / 1.53 GB, free: 3.211 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.6106, allocations: 0 / 1.53 GB, free: 3.211 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.6107, allocations: 16.09 kB / 1.53 GB, free: 3.195 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.6113, allocations: 393.2 kB / 1.53 GB, free: 2.773 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.6115, allocations: 51.77 kB / 1.53 GB, free: 2.723 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.6115, allocations: 3.984 kB / 1.53 GB, free: 2.719 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.6117, allocations: 15.98 kB / 1.53 GB, free: 2.703 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.6118, allocations: 23.86 kB / 1.531 GB, free: 2.68 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.6119, allocations: 11.98 kB / 1.531 GB, free: 2.668 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001679/0.612, allocations: 173.2 kB / 1.531 GB, free: 2.5 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/0.612, allocations: 0 / 1.531 GB, free: 2.5 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000549/0.6126, allocations: 123.7 kB / 1.531 GB, free: 2.379 MB / 1.217 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.0004659/0.613, allocations: 207 kB / 1.531 GB, free: 2.164 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006092/0.6137, allocations: 215.7 kB / 1.531 GB, free: 1.953 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6137, allocations: 0 / 1.531 GB, free: 1.953 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.6139, allocations: 116.2 kB / 1.531 GB, free: 1.84 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.6146, allocations: 118.1 kB / 1.531 GB, free: 1.73 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.6158, allocations: 0.6183 MB / 1.532 GB, free: 1.062 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.616, allocations: 184.8 kB / 1.532 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.6161, allocations: 23.44 kB / 1.532 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of SimCode: time 6.21e-07/0.6161, allocations: 0 / 1.532 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of Templates: time 0.01064/0.6267, allocations: 5.692 MB / 1.538 GB, free: 11.17 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.66109581803903]