Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00104/0.00104, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.001114/0.001114, allocations: 177.9 kB / 23.21 MB, free: 1.355 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 0.8629/0.8629, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.722/1.722, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 1.001 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.333e-05, allocations: 2.281 kB / 1.001 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6115/0.6115, allocations: 147.6 MB / 1.145 GB, free: 8.371 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.6136, allocations: 1.458 MB / 1.146 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.6138, allocations: 20.78 kB / 1.146 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.6143, allocations: 156.7 kB / 1.147 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.616, allocations: 0.7084 MB / 1.147 GB, free: 6.527 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.6172, allocations: 0.6489 MB / 1.148 GB, free: 6.051 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.6178, allocations: 0.6786 MB / 1.149 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.6181, allocations: 178.8 kB / 1.149 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007941/0.6189, allocations: 0.5829 MB / 1.149 GB, free: 5.168 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.6191, allocations: 188.8 kB / 1.15 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.6191, allocations: 21.88 kB / 1.15 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008762/0.62, allocations: 0.7164 MB / 1.15 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.6201, allocations: 113.5 kB / 1.15 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.6202, allocations: 112.2 kB / 1.15 GB, free: 4.539 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000702/0.6209, allocations: 0.7297 MB / 1.151 GB, free: 4.105 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6209, allocations: 0 / 1.151 GB, free: 4.105 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6209, allocations: 9.547 kB / 1.151 GB, free: 4.098 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6209, allocations: 0 / 1.151 GB, free: 4.098 MB / 0.9948 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.0006508/0.6216, allocations: 0.5759 MB / 1.152 GB, free: 3.605 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.6216, allocations: 16.41 kB / 1.152 GB, free: 3.602 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/0.6222, allocations: 155.4 kB / 1.152 GB, free: 3.527 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.6225, allocations: 253 kB / 1.152 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.6225, allocations: 16.72 kB / 1.152 GB, free: 3.297 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.6226, allocations: 20.53 kB / 1.152 GB, free: 3.293 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.6229, allocations: 277.2 kB / 1.152 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6229, allocations: 0 / 1.152 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.6229, allocations: 10.56 kB / 1.152 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.6229, allocations: 15.47 kB / 1.152 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.6231, allocations: 193.5 kB / 1.153 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/0.6239, allocations: 0.9147 MB / 1.154 GB, free: 2.223 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.6241, allocations: 135 kB / 1.154 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.6242, allocations: 82.12 kB / 1.154 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/0.6244, allocations: 74.31 kB / 1.154 GB, free: 2.074 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.6245, allocations: 34.56 kB / 1.154 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.6245, allocations: 4 kB / 1.154 GB, free: 2.027 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0004333/0.6249, allocations: 275.9 kB / 1.154 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.6249, allocations: 55.34 kB / 1.154 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.6251, allocations: 246.9 kB / 1.154 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.6251, allocations: 32.64 kB / 1.154 GB, free: 1.609 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.6252, allocations: 178.3 kB / 1.155 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.6252, allocations: 51.03 kB / 1.155 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.6253, allocations: 50.75 kB / 1.155 GB, free: 1.359 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.6253, allocations: 332.2 kB / 1.155 GB, free: 1.031 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/0.6254, allocations: 67.84 kB / 1.155 GB, free: 1 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.6256, allocations: 197.2 kB / 1.155 GB, free: 0.8203 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.6258, allocations: 193.9 kB / 1.155 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6258, allocations: 4 kB / 1.155 GB, free: 0.6875 MB / 0.9948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002585/0.626, allocations: 240 kB / 1.156 GB, free: 0.5547 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.626, allocations: 7.688 kB / 1.156 GB, free: 0.5547 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.626, allocations: 5.016 kB / 1.156 GB, free: 0.5508 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.6261, allocations: 3.281 kB / 1.156 GB, free: 0.5508 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.6262, allocations: 37.23 kB / 1.156 GB, free: 0.5469 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6262, allocations: 10.53 kB / 1.156 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-05/0.6263, allocations: 27.59 kB / 1.156 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.6263, allocations: 8.312 kB / 1.156 GB, free: 0.5195 MB / 0.9948 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 9.495e-05/0.6264, allocations: 151.6 kB / 1.156 GB, free: 388 kB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.6264, allocations: 27.45 kB / 1.156 GB, free: 372 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.6267, allocations: 212.4 kB / 1.156 GB, free: 244 kB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.6267, allocations: 1.344 kB / 1.156 GB, free: 244 kB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6267, allocations: 0 / 1.156 GB, free: 244 kB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6267, allocations: 13.27 kB / 1.156 GB, free: 232 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.6273, allocations: 0.5934 MB / 1.157 GB, free: 15.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6273, allocations: 2.875 kB / 1.157 GB, free: 15.75 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-05/0.6274, allocations: 31.77 kB / 1.157 GB, free: 15.74 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.6274, allocations: 6.906 kB / 1.157 GB, free: 15.73 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.6274, allocations: 8.828 kB / 1.157 GB, free: 15.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6274, allocations: 4.719 kB / 1.157 GB, free: 15.73 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6274, allocations: 0 / 1.157 GB, free: 15.73 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.6277, allocations: 423.7 kB / 1.157 GB, free: 15.42 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.6278, allocations: 49.02 kB / 1.157 GB, free: 15.38 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.6279, allocations: 7.094 kB / 1.157 GB, free: 15.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.628, allocations: 9.406 kB / 1.157 GB, free: 15.38 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.628, allocations: 27.94 kB / 1.157 GB, free: 15.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.628, allocations: 2.781 kB / 1.157 GB, free: 15.36 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.227e-05/0.6281, allocations: 171.2 kB / 1.157 GB, free: 15.24 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6281, allocations: 0 / 1.157 GB, free: 15.24 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002418/0.6284, allocations: 90.89 kB / 1.158 GB, free: 15.21 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0002134/0.6286, allocations: 143.9 kB / 1.158 GB, free: 15.11 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.6288, allocations: 182.1 kB / 1.158 GB, free: 15.03 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6288, allocations: 0 / 1.158 GB, free: 15.03 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.6289, allocations: 80.55 kB / 1.158 GB, free: 14.99 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.6293, allocations: 110.2 kB / 1.158 GB, free: 14.94 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/0.63, allocations: 0.5717 MB / 1.159 GB, free: 14.49 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.6301, allocations: 170.5 kB / 1.159 GB, free: 14.36 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.6301, allocations: 28.3 kB / 1.159 GB, free: 14.35 MB / 1.01 GB Notification: Performance of SimCode: time 6.51e-07/0.6301, allocations: 0 / 1.159 GB, free: 14.35 MB / 1.01 GB Notification: Performance of Templates: time 0.004216/0.6344, allocations: 4.274 MB / 1.163 GB, free: 11.67 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.803661930374801]