Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001587/0.001587, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001728/0.001728, allocations: 218 kB / 23 MB, free: 4.969 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.224/3.224, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [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.001992/0.001992, allocations: 69.09 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1801/0.5088, allocations: 147.6 MB / 1.471 GB, free: 12.79 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003173/0.512, allocations: 1.477 MB / 1.473 GB, free: 11.31 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.5124, allocations: 15.88 kB / 1.473 GB, free: 11.3 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.5129, allocations: 154.9 kB / 1.473 GB, free: 11.14 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.5147, allocations: 0.704 MB / 1.474 GB, free: 10.44 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.5164, allocations: 0.6264 MB / 1.474 GB, free: 9.812 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000921/0.5173, allocations: 0.7089 MB / 1.475 GB, free: 9.102 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.5176, allocations: 190.8 kB / 1.475 GB, free: 8.914 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.5187, allocations: 0.4944 MB / 1.476 GB, free: 8.418 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.519, allocations: 243 kB / 1.476 GB, free: 8.18 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.519, allocations: 20 kB / 1.476 GB, free: 8.16 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.5204, allocations: 0.7168 MB / 1.476 GB, free: 7.441 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.5205, allocations: 115.6 kB / 1.477 GB, free: 7.328 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.5207, allocations: 135.4 kB / 1.477 GB, free: 7.195 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.5217, allocations: 0.693 MB / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5217, allocations: 0 / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5217, allocations: 0 / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.5217, allocations: 0 / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001097/0.5228, allocations: 0.5901 MB / 1.478 GB, free: 5.879 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.5229, allocations: 8.031 kB / 1.478 GB, free: 5.871 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.5242, allocations: 159.6 kB / 1.478 GB, free: 5.715 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005729/0.5247, allocations: 264 kB / 1.478 GB, free: 5.426 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5248, allocations: 12.44 kB / 1.478 GB, free: 5.414 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.5248, allocations: 24 kB / 1.478 GB, free: 5.391 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.5254, allocations: 275.5 kB / 1.479 GB, free: 5.102 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.5254, allocations: 7.938 kB / 1.479 GB, free: 5.094 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.5254, allocations: 4 kB / 1.479 GB, free: 5.09 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.5254, allocations: 8 kB / 1.479 GB, free: 5.082 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004335/0.5258, allocations: 199.8 kB / 1.479 GB, free: 4.887 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.5272, allocations: 0.9194 MB / 1.48 GB, free: 3.922 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.5275, allocations: 126.5 kB / 1.48 GB, free: 3.789 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.5277, allocations: 88.8 kB / 1.48 GB, free: 3.699 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/0.5282, allocations: 71.92 kB / 1.48 GB, free: 3.629 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5283, allocations: 30.56 kB / 1.48 GB, free: 3.59 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.5283, allocations: 3.938 kB / 1.48 GB, free: 3.586 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.0008234/0.5291, allocations: 287.2 kB / 1.48 GB, free: 3.301 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.5291, allocations: 51.41 kB / 1.48 GB, free: 3.238 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.5294, allocations: 245.9 kB / 1.481 GB, free: 2.984 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.5294, allocations: 29.7 kB / 1.481 GB, free: 2.949 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.5296, allocations: 188.2 kB / 1.481 GB, free: 2.762 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.5296, allocations: 55.52 kB / 1.481 GB, free: 2.707 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-05/0.5297, allocations: 53.59 kB / 1.481 GB, free: 2.648 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5299, allocations: 338.8 kB / 1.481 GB, free: 2.309 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.53, allocations: 71.95 kB / 1.481 GB, free: 2.238 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.5303, allocations: 195.1 kB / 1.482 GB, free: 2.012 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.5307, allocations: 189 kB / 1.482 GB, free: 1.809 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5307, allocations: 3.938 kB / 1.482 GB, free: 1.805 MB / 1.17 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004969/0.5312, allocations: 241.3 kB / 1.482 GB, free: 1.562 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5312, allocations: 4 kB / 1.482 GB, free: 1.559 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5312, allocations: 4 kB / 1.482 GB, free: 1.555 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5312, allocations: 0 / 1.482 GB, free: 1.555 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.5314, allocations: 39.92 kB / 1.482 GB, free: 1.516 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.5315, allocations: 4 kB / 1.482 GB, free: 1.512 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.5317, allocations: 23.88 kB / 1.482 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.5317, allocations: 12 kB / 1.482 GB, free: 1.477 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001671/0.5319, allocations: 165.8 kB / 1.482 GB, free: 1.305 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.5319, allocations: 23.81 kB / 1.482 GB, free: 1.281 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/0.5324, allocations: 210 kB / 1.482 GB, free: 1.074 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5324, allocations: 3.984 kB / 1.482 GB, free: 1.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5324, allocations: 0 / 1.482 GB, free: 1.07 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.5325, allocations: 35.78 kB / 1.482 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.5325, allocations: 4 kB / 1.482 GB, free: 1.031 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.5327, allocations: 7.984 kB / 1.482 GB, free: 1.023 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.5327, allocations: 23.86 kB / 1.483 GB, free: 1 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005254/0.5333, allocations: 264.8 kB / 1.483 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006905/0.5339, allocations: 454.5 kB / 1.483 GB, free: 280 kB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001804/0.5341, allocations: 74.44 kB / 1.483 GB, free: 208 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001671/0.5343, allocations: 177.3 kB / 1.483 GB, free: 36 kB / 1.17 GB Notification: Performance of Backend: time 2.2e-07/0.5343, allocations: 0 / 1.483 GB, free: 36 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.5355, allocations: 360.4 kB / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of SimCode: time 0.001552/0.537, allocations: 1.064 MB / 1.485 GB, free: 14.57 MB / 1.186 GB Notification: Performance of Templates: time 0.01392/0.551, allocations: 7.507 MB / 1.492 GB, free: 7.164 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.110627743000805]