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.001304/0.001304, allocations: 99.78 kB / 19.71 MB, free: 2.105 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.001427/0.001427, allocations: 214.3 kB / 23.01 MB, free: 4.914 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002055/0.002055, allocations: 71.19 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.331, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1912/0.5221, allocations: 149.5 MB / 1.473 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008891/0.531, allocations: 6.547 MB / 1.48 GB, free: 4.312 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.5314, allocations: 27.81 kB / 1.48 GB, free: 4.285 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005555/0.532, allocations: 178.7 kB / 1.48 GB, free: 4.109 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.5352, allocations: 1.292 MB / 1.481 GB, free: 2.812 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.5369, allocations: 0.6595 MB / 1.482 GB, free: 2.156 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009359/0.5378, allocations: 0.768 MB / 1.482 GB, free: 1.387 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.5382, allocations: 235.2 kB / 1.483 GB, free: 1.152 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.5398, allocations: 0.7395 MB / 1.483 GB, free: 420 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008251/0.5406, allocations: 454.5 kB / 1.484 GB, free: 15.96 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.94e-05/0.5407, allocations: 24 kB / 1.484 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.5425, allocations: 1.056 MB / 1.485 GB, free: 14.88 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.5426, allocations: 123.6 kB / 1.485 GB, free: 14.76 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.5428, allocations: 147.3 kB / 1.485 GB, free: 14.62 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.5441, allocations: 0.8644 MB / 1.486 GB, free: 13.75 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5441, allocations: 0 / 1.486 GB, free: 13.75 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5441, allocations: 0 / 1.486 GB, free: 13.75 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.5441, allocations: 7.938 kB / 1.486 GB, free: 13.74 MB / 1.186 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.001039/0.5451, allocations: 0.6329 MB / 1.487 GB, free: 13.08 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5452, allocations: 8.031 kB / 1.487 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.5463, allocations: 131.6 kB / 1.487 GB, free: 12.94 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.5469, allocations: 287.4 kB / 1.487 GB, free: 12.63 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.933e-05/0.547, allocations: 76.06 kB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.547, allocations: 24 kB / 1.487 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007389/0.5477, allocations: 393 kB / 1.487 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5478, allocations: 3.938 kB / 1.487 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.5478, allocations: 12 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.5478, allocations: 4 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/0.5484, allocations: 277.7 kB / 1.488 GB, free: 11.82 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.5502, allocations: 1.07 MB / 1.489 GB, free: 10.7 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.5506, allocations: 190.5 kB / 1.489 GB, free: 10.5 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.5508, allocations: 108.8 kB / 1.489 GB, free: 10.39 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008513/0.5517, allocations: 131.8 kB / 1.489 GB, free: 10.27 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.5517, allocations: 30.56 kB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.5517, allocations: 4 kB / 1.489 GB, free: 10.22 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.0009881/0.5527, allocations: 359.5 kB / 1.49 GB, free: 9.867 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.5527, allocations: 55.41 kB / 1.49 GB, free: 9.801 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.553, allocations: 225.9 kB / 1.49 GB, free: 9.574 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.553, allocations: 29.7 kB / 1.49 GB, free: 9.539 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.5532, allocations: 196.5 kB / 1.49 GB, free: 9.344 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.5532, allocations: 59.52 kB / 1.49 GB, free: 9.285 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-05/0.5533, allocations: 53.66 kB / 1.49 GB, free: 9.227 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.5535, allocations: 330.8 kB / 1.49 GB, free: 8.895 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.5537, allocations: 87.92 kB / 1.491 GB, free: 8.809 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.554, allocations: 224.8 kB / 1.491 GB, free: 8.551 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.5544, allocations: 241.8 kB / 1.491 GB, free: 8.293 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5544, allocations: 0 / 1.491 GB, free: 8.293 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006061/0.555, allocations: 284.1 kB / 1.491 GB, free: 8.012 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.555, allocations: 7.938 kB / 1.491 GB, free: 8.004 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.555, allocations: 8.188 kB / 1.491 GB, free: 7.996 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.555, allocations: 4 kB / 1.491 GB, free: 7.992 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.5553, allocations: 39.91 kB / 1.491 GB, free: 7.953 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.5553, allocations: 4 kB / 1.491 GB, free: 7.949 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.5555, allocations: 27.88 kB / 1.491 GB, free: 7.922 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.5556, allocations: 15.94 kB / 1.491 GB, free: 7.906 MB / 1.186 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.0001834/0.5558, allocations: 149.8 kB / 1.491 GB, free: 7.75 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.5559, allocations: 27.8 kB / 1.492 GB, free: 7.723 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/0.5566, allocations: 303.1 kB / 1.492 GB, free: 7.422 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5566, allocations: 0 / 1.492 GB, free: 7.422 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5566, allocations: 0 / 1.492 GB, free: 7.422 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.5568, allocations: 51.78 kB / 1.492 GB, free: 7.371 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.5568, allocations: 0 / 1.492 GB, free: 7.371 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.557, allocations: 15.98 kB / 1.492 GB, free: 7.355 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.5571, allocations: 15.91 kB / 1.492 GB, free: 7.34 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006069/0.5577, allocations: 326.4 kB / 1.492 GB, free: 7.016 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006095/0.5583, allocations: 418.5 kB / 1.493 GB, free: 6.59 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002175/0.5585, allocations: 98.16 kB / 1.493 GB, free: 6.496 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001523/0.5587, allocations: 165.2 kB / 1.493 GB, free: 6.332 MB / 1.186 GB Notification: Performance of Backend: time 3.31e-07/0.5587, allocations: 0 / 1.493 GB, free: 6.332 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.5601, allocations: 465.6 kB / 1.493 GB, free: 5.867 MB / 1.186 GB Notification: Performance of SimCode: time 0.001305/0.5614, allocations: 0.9883 MB / 1.494 GB, free: 4.836 MB / 1.186 GB Notification: Performance of Templates: time 0.01608/0.5774, allocations: 8.884 MB / 1.503 GB, free: 12.05 MB / 1.201 GB " [Timeout remaining time 299] 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/jenkins1/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: 9.139342749003845]