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.001195/0.001195, allocations: 103 kB / 16.45 MB, free: 6.449 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.001359/0.001359, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.39/1.39, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.032/3.032, allocations: 0.49 GB / 0.7916 GB, free: 33.27 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [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.001948/0.001948, allocations: 75.22 kB / 1.149 GB, free: 26.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3097, allocations: 176.1 MB / 1.321 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1921/0.5018, allocations: 170.8 MB / 1.488 GB, free: 7.742 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.5046, allocations: 1.561 MB / 1.489 GB, free: 6.18 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.5049, allocations: 19.81 kB / 1.489 GB, free: 6.16 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.5054, allocations: 150.9 kB / 1.489 GB, free: 6.012 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.507, allocations: 0.7312 MB / 1.49 GB, free: 5.277 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.5084, allocations: 0.6063 MB / 1.491 GB, free: 4.672 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008417/0.5093, allocations: 0.6973 MB / 1.491 GB, free: 3.973 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.5096, allocations: 200.8 kB / 1.492 GB, free: 3.773 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009269/0.5105, allocations: 0.4944 MB / 1.492 GB, free: 3.277 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.5108, allocations: 231 kB / 1.492 GB, free: 3.051 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.5108, allocations: 24 kB / 1.492 GB, free: 3.027 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.5123, allocations: 0.9196 MB / 1.493 GB, free: 2.105 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.5124, allocations: 111.7 kB / 1.493 GB, free: 1.996 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.5126, allocations: 159.2 kB / 1.493 GB, free: 1.84 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.5136, allocations: 0.7242 MB / 1.494 GB, free: 1.113 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.5136, allocations: 0 / 1.494 GB, free: 1.113 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5136, allocations: 0 / 1.494 GB, free: 1.113 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.5136, allocations: 0 / 1.494 GB, free: 1.113 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009261/0.5146, allocations: 0.6576 MB / 1.495 GB, free: 416 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5146, allocations: 15.98 kB / 1.495 GB, free: 400 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.409e-05/0.5147, allocations: 62.53 kB / 1.495 GB, free: 328 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.5158, allocations: 155.6 kB / 1.495 GB, free: 172 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.5163, allocations: 321.9 kB / 1.495 GB, free: 15.81 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.5163, allocations: 12.44 kB / 1.495 GB, free: 15.8 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.5164, allocations: 24 kB / 1.495 GB, free: 15.77 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.5169, allocations: 283.4 kB / 1.496 GB, free: 15.47 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5169, allocations: 4 kB / 1.496 GB, free: 15.47 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.5169, allocations: 15.94 kB / 1.496 GB, free: 15.45 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5169, allocations: 4 kB / 1.496 GB, free: 15.45 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.5174, allocations: 191.8 kB / 1.496 GB, free: 15.26 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.5188, allocations: 1.206 MB / 1.497 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.5191, allocations: 138.4 kB / 1.497 GB, free: 13.81 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.5193, allocations: 88.81 kB / 1.497 GB, free: 13.72 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/0.5199, allocations: 311.2 kB / 1.497 GB, free: 13.36 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.5199, allocations: 38.56 kB / 1.498 GB, free: 13.31 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.5199, allocations: 3.938 kB / 1.498 GB, free: 13.31 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0007943/0.5207, allocations: 281.5 kB / 1.498 GB, free: 13.03 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.5208, allocations: 51.41 kB / 1.498 GB, free: 12.96 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.5211, allocations: 312.5 kB / 1.498 GB, free: 12.65 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.5211, allocations: 29.7 kB / 1.498 GB, free: 12.62 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.5213, allocations: 192.3 kB / 1.498 GB, free: 12.43 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.5213, allocations: 51.53 kB / 1.498 GB, free: 12.38 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.299e-05/0.5214, allocations: 45.66 kB / 1.498 GB, free: 12.32 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5215, allocations: 338.8 kB / 1.499 GB, free: 11.98 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.5217, allocations: 63.95 kB / 1.499 GB, free: 11.92 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.5219, allocations: 127.7 kB / 1.499 GB, free: 11.78 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.5223, allocations: 185.6 kB / 1.499 GB, free: 11.58 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5223, allocations: 4 kB / 1.499 GB, free: 11.58 MB / 1.201 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004792/0.5228, allocations: 244.9 kB / 1.499 GB, free: 11.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5228, allocations: 11.94 kB / 1.499 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5228, allocations: 0 / 1.499 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5228, allocations: 4 kB / 1.499 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.523, allocations: 39.97 kB / 1.499 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.523, allocations: 0 / 1.499 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.5232, allocations: 39.86 kB / 1.499 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.5232, allocations: 8 kB / 1.499 GB, free: 11.23 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.000155/0.5234, allocations: 149.7 kB / 1.5 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.5235, allocations: 31.81 kB / 1.5 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.524, allocations: 216.3 kB / 1.5 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.524, allocations: 0 / 1.5 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.524, allocations: 4 kB / 1.5 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.524, allocations: 4 kB / 1.5 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.5251, allocations: 0.6873 MB / 1.501 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5251, allocations: 0 / 1.501 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.5252, allocations: 39.92 kB / 1.501 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.5252, allocations: 7.938 kB / 1.501 GB, free: 10.01 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.5252, allocations: 4 kB / 1.501 GB, free: 10 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.5253, allocations: 4 kB / 1.501 GB, free: 10 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5253, allocations: 0 / 1.501 GB, free: 10 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/0.526, allocations: 443.9 kB / 1.501 GB, free: 9.531 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.5261, allocations: 132.9 kB / 1.501 GB, free: 9.383 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.5261, allocations: 7.984 kB / 1.501 GB, free: 9.375 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.5263, allocations: 8 kB / 1.501 GB, free: 9.367 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.5263, allocations: 15.98 kB / 1.501 GB, free: 9.352 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.5264, allocations: 4 kB / 1.501 GB, free: 9.348 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002416/0.5266, allocations: 227 kB / 1.501 GB, free: 9.125 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5266, allocations: 8 kB / 1.501 GB, free: 9.117 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004006/0.527, allocations: 79.86 kB / 1.501 GB, free: 9.039 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.001192/0.5282, allocations: 1.015 MB / 1.502 GB, free: 7.973 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.5286, allocations: 167.8 kB / 1.503 GB, free: 7.809 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5287, allocations: 0 / 1.503 GB, free: 7.809 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.5288, allocations: 87.81 kB / 1.503 GB, free: 7.723 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008752/0.5297, allocations: 166.2 kB / 1.503 GB, free: 7.566 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.5336, allocations: 2.904 MB / 1.506 GB, free: 4.516 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.5341, allocations: 0.7756 MB / 1.506 GB, free: 3.715 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002173/0.5343, allocations: 66.86 kB / 1.506 GB, free: 3.648 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.5344, allocations: 87.41 kB / 1.507 GB, free: 3.562 MB / 1.201 GB Notification: Performance of SimCode: time 7.01e-07/0.5344, allocations: 0 / 1.507 GB, free: 3.562 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/0.5715, allocations: 8.832 MB / 1.515 GB, free: 10.92 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.719, allocations: 1.562 kB / 1.515 GB, free: 10.92 MB / 1.217 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 420.0] 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: 15.004259849898517]