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.00145/0.00145, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001566/0.001566, allocations: 215.3 kB / 23.01 MB, free: 4.609 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.337/1.337, allocations: 230.6 MB / 256.8 MB, free: 8.02 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 2.916/2.916, allocations: 0.49 GB / 0.7958 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] 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.001885/0.001885, allocations: 66.31 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3103, allocations: 176.1 MB / 1.327 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1895/0.4998, allocations: 171 MB / 1.494 GB, free: 5.758 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.5024, allocations: 1.563 MB / 1.496 GB, free: 4.191 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.5026, allocations: 15.88 kB / 1.496 GB, free: 4.176 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.503, allocations: 154.8 kB / 1.496 GB, free: 4.023 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.5045, allocations: 0.743 MB / 1.497 GB, free: 3.277 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.5058, allocations: 0.6225 MB / 1.497 GB, free: 2.656 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008581/0.5067, allocations: 0.7129 MB / 1.498 GB, free: 1.941 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.507, allocations: 201 kB / 1.498 GB, free: 1.742 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009311/0.5079, allocations: 0.5022 MB / 1.499 GB, free: 1.238 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.5082, allocations: 223 kB / 1.499 GB, free: 1.02 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.5083, allocations: 24 kB / 1.499 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.5097, allocations: 0.9274 MB / 1.5 GB, free: 68 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.5098, allocations: 115.7 kB / 1.5 GB, free: 15.95 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.51, allocations: 171.1 kB / 1.5 GB, free: 15.79 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0009733/0.511, allocations: 0.7164 MB / 1.501 GB, free: 15.07 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.511, allocations: 0 / 1.501 GB, free: 15.07 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.016e-06/0.511, allocations: 4 kB / 1.501 GB, free: 15.06 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.511, allocations: 0 / 1.501 GB, free: 15.06 MB / 1.201 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.0008895/0.5119, allocations: 0.5861 MB / 1.501 GB, free: 14.45 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.5119, allocations: 8.031 kB / 1.501 GB, free: 14.44 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.513, allocations: 159.6 kB / 1.501 GB, free: 14.28 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.5134, allocations: 256.1 kB / 1.502 GB, free: 14 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5135, allocations: 16.44 kB / 1.502 GB, free: 13.98 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.5135, allocations: 23.94 kB / 1.502 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.514, allocations: 279.5 kB / 1.502 GB, free: 13.67 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.514, allocations: 0 / 1.502 GB, free: 13.67 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.514, allocations: 8 kB / 1.502 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.514, allocations: 4 kB / 1.502 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.5144, allocations: 207.7 kB / 1.502 GB, free: 13.45 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.5158, allocations: 1.171 MB / 1.503 GB, free: 12.19 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.5161, allocations: 134.5 kB / 1.503 GB, free: 12.05 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.5163, allocations: 80.81 kB / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004295/0.5167, allocations: 72.19 kB / 1.504 GB, free: 11.89 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.5167, allocations: 46.44 kB / 1.504 GB, free: 11.84 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.5167, allocations: 0 / 1.504 GB, free: 11.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0007275/0.5174, allocations: 282.8 kB / 1.504 GB, free: 11.56 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.5175, allocations: 55.41 kB / 1.504 GB, free: 11.49 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.5178, allocations: 312.5 kB / 1.504 GB, free: 11.18 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.5178, allocations: 37.7 kB / 1.504 GB, free: 11.13 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.518, allocations: 180.3 kB / 1.504 GB, free: 10.95 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.518, allocations: 59.52 kB / 1.504 GB, free: 10.89 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/0.5181, allocations: 45.66 kB / 1.505 GB, free: 10.84 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5183, allocations: 338.8 kB / 1.505 GB, free: 10.5 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.5184, allocations: 59.95 kB / 1.505 GB, free: 10.44 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.5186, allocations: 129 kB / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.519, allocations: 202.8 kB / 1.505 GB, free: 10.08 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.519, allocations: 0 / 1.505 GB, free: 10.08 MB / 1.201 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004505/0.5194, allocations: 241.3 kB / 1.505 GB, free: 9.84 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5195, allocations: 4 kB / 1.505 GB, free: 9.836 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5195, allocations: 0 / 1.505 GB, free: 9.836 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.5195, allocations: 4 kB / 1.505 GB, free: 9.832 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.5197, allocations: 43.91 kB / 1.506 GB, free: 9.789 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.5197, allocations: 4.094 kB / 1.506 GB, free: 9.785 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.5198, allocations: 31.81 kB / 1.506 GB, free: 9.754 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.5199, allocations: 12 kB / 1.506 GB, free: 9.742 MB / 1.201 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.0001508/0.52, allocations: 157.7 kB / 1.506 GB, free: 9.578 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.5201, allocations: 27.81 kB / 1.506 GB, free: 9.551 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.5205, allocations: 222.6 kB / 1.506 GB, free: 9.328 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5205, allocations: 4 kB / 1.506 GB, free: 9.324 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5205, allocations: 4 kB / 1.506 GB, free: 9.32 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5205, allocations: 0 / 1.506 GB, free: 9.32 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5216, allocations: 0.6513 MB / 1.507 GB, free: 8.598 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5216, allocations: 4 kB / 1.507 GB, free: 8.594 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.5217, allocations: 39.91 kB / 1.507 GB, free: 8.555 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.5217, allocations: 7.938 kB / 1.507 GB, free: 8.547 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.5217, allocations: 4 kB / 1.507 GB, free: 8.543 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5217, allocations: 0 / 1.507 GB, free: 8.543 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.5217, allocations: 7.938 kB / 1.507 GB, free: 8.535 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.5224, allocations: 425.5 kB / 1.507 GB, free: 8.082 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.5225, allocations: 47.72 kB / 1.507 GB, free: 8.035 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.5225, allocations: 15.88 kB / 1.507 GB, free: 8.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5227, allocations: 11.98 kB / 1.507 GB, free: 8.008 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.5227, allocations: 11.98 kB / 1.507 GB, free: 7.996 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.5227, allocations: 4 kB / 1.507 GB, free: 7.992 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002255/0.523, allocations: 231.1 kB / 1.507 GB, free: 7.766 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.523, allocations: 0 / 1.507 GB, free: 7.766 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003663/0.5233, allocations: 83.89 kB / 1.507 GB, free: 7.684 MB / 1.201 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.0002493/0.5236, allocations: 156.6 kB / 1.508 GB, free: 7.52 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.524, allocations: 163.9 kB / 1.508 GB, free: 7.359 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.524, allocations: 4.062 kB / 1.508 GB, free: 7.355 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.5242, allocations: 79.89 kB / 1.508 GB, free: 7.277 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008182/0.525, allocations: 171.1 kB / 1.508 GB, free: 7.113 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.526, allocations: 0.6386 MB / 1.509 GB, free: 6.426 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.5264, allocations: 0.7756 MB / 1.509 GB, free: 5.621 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.5265, allocations: 23.44 kB / 1.509 GB, free: 5.598 MB / 1.201 GB Notification: Performance of SimCode: time 3.2e-07/0.5265, allocations: 0 / 1.509 GB, free: 5.598 MB / 1.201 GB Notification: Performance of Templates: time 0.007254/0.5337, allocations: 4.861 MB / 1.514 GB, free: 0.7852 MB / 1.201 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: 11.14525705599226]