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.001183/0.001183, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001352/0.001352, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.304/1.304, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 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 2.872/2.872, allocations: 0.5003 GB / 0.8061 GB, free: 26.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",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.001783/0.001783, allocations: 66.59 kB / 1.171 GB, free: 19.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2947, allocations: 179 MB / 1.345 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1918/0.4865, allocations: 171 MB / 1.512 GB, free: 4.82 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.4893, allocations: 1.566 MB / 1.514 GB, free: 3.25 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.4896, allocations: 23.81 kB / 1.514 GB, free: 3.227 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.49, allocations: 150.9 kB / 1.514 GB, free: 3.078 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.4918, allocations: 0.7429 MB / 1.515 GB, free: 2.332 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.4932, allocations: 0.6269 MB / 1.515 GB, free: 1.707 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0008383/0.494, allocations: 0.709 MB / 1.516 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.4944, allocations: 197 kB / 1.516 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009244/0.4953, allocations: 0.4944 MB / 1.517 GB, free: 308 kB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.4956, allocations: 235 kB / 1.517 GB, free: 72 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.4956, allocations: 24 kB / 1.517 GB, free: 48 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.4971, allocations: 0.9352 MB / 1.518 GB, free: 15.11 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.4973, allocations: 111.7 kB / 1.518 GB, free: 15 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.4975, allocations: 163.2 kB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.4985, allocations: 0.7203 MB / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4985, allocations: 0 / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of FrontEnd: time 4.478e-06/0.4985, allocations: 4 kB / 1.519 GB, free: 14.11 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.4985, allocations: 0 / 1.519 GB, free: 14.11 MB / 1.217 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.001038/0.4995, allocations: 0.5784 MB / 1.519 GB, free: 13.5 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4996, allocations: 12.03 kB / 1.519 GB, free: 13.49 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.034e-05/0.4996, allocations: 8.438 kB / 1.519 GB, free: 13.48 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.4997, allocations: 58.48 kB / 1.52 GB, free: 13.42 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.5008, allocations: 159.6 kB / 1.52 GB, free: 13.26 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.5013, allocations: 256.1 kB / 1.52 GB, free: 12.98 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.5013, allocations: 12.44 kB / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.5014, allocations: 27.95 kB / 1.52 GB, free: 12.94 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.5019, allocations: 279.4 kB / 1.52 GB, free: 12.65 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5019, allocations: 4 kB / 1.52 GB, free: 12.64 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.5019, allocations: 7.984 kB / 1.52 GB, free: 12.64 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5019, allocations: 8 kB / 1.52 GB, free: 12.63 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.5023, allocations: 195.8 kB / 1.52 GB, free: 12.44 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.5038, allocations: 1.171 MB / 1.522 GB, free: 11.17 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.5041, allocations: 134.4 kB / 1.522 GB, free: 11.03 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.5042, allocations: 92.73 kB / 1.522 GB, free: 10.94 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004412/0.5047, allocations: 72.19 kB / 1.522 GB, free: 10.87 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.5047, allocations: 42.56 kB / 1.522 GB, free: 10.82 MB / 1.217 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.5047, allocations: 0 / 1.522 GB, free: 10.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=15): time 0.0007572/0.5055, allocations: 279.6 kB / 1.522 GB, free: 10.54 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.5055, allocations: 55.41 kB / 1.522 GB, free: 10.47 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.5058, allocations: 316.5 kB / 1.523 GB, free: 10.16 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.5059, allocations: 29.7 kB / 1.523 GB, free: 10.12 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.506, allocations: 188.3 kB / 1.523 GB, free: 9.934 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.5061, allocations: 55.53 kB / 1.523 GB, free: 9.879 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/0.5061, allocations: 45.66 kB / 1.523 GB, free: 9.828 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5063, allocations: 338.8 kB / 1.523 GB, free: 9.488 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.5065, allocations: 67.95 kB / 1.523 GB, free: 9.422 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.5067, allocations: 129 kB / 1.523 GB, free: 9.277 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.5071, allocations: 192.9 kB / 1.524 GB, free: 9.07 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5071, allocations: 0 / 1.524 GB, free: 9.07 MB / 1.217 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004692/0.5075, allocations: 242.5 kB / 1.524 GB, free: 8.828 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5076, allocations: 5.875 kB / 1.524 GB, free: 8.824 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5076, allocations: 4 kB / 1.524 GB, free: 8.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5076, allocations: 0 / 1.524 GB, free: 8.82 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.5078, allocations: 39.97 kB / 1.524 GB, free: 8.781 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.5078, allocations: 7.938 kB / 1.524 GB, free: 8.773 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.508, allocations: 35.86 kB / 1.524 GB, free: 8.738 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.508, allocations: 8 kB / 1.524 GB, free: 8.73 MB / 1.217 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.0001437/0.5081, allocations: 150.4 kB / 1.524 GB, free: 8.574 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.5082, allocations: 27.81 kB / 1.524 GB, free: 8.547 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.5087, allocations: 224.2 kB / 1.524 GB, free: 8.32 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5087, allocations: 0 / 1.524 GB, free: 8.32 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5087, allocations: 0 / 1.524 GB, free: 8.32 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5087, allocations: 4 kB / 1.524 GB, free: 8.316 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.5097, allocations: 0.6553 MB / 1.525 GB, free: 7.59 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5097, allocations: 0 / 1.525 GB, free: 7.59 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.5099, allocations: 43.84 kB / 1.525 GB, free: 7.547 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.5099, allocations: 4 kB / 1.525 GB, free: 7.543 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.5099, allocations: 7.938 kB / 1.525 GB, free: 7.535 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5099, allocations: 4 kB / 1.525 GB, free: 7.531 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5099, allocations: 0 / 1.525 GB, free: 7.531 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.5106, allocations: 433.3 kB / 1.525 GB, free: 7.07 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.5107, allocations: 51.67 kB / 1.525 GB, free: 7.02 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.5107, allocations: 4 kB / 1.525 GB, free: 7.016 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.5109, allocations: 19.92 kB / 1.525 GB, free: 6.996 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.5109, allocations: 15.92 kB / 1.525 GB, free: 6.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.5109, allocations: 8 kB / 1.525 GB, free: 6.973 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002251/0.5112, allocations: 227 kB / 1.526 GB, free: 6.754 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5112, allocations: 0 / 1.526 GB, free: 6.754 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003669/0.5115, allocations: 80 kB / 1.526 GB, free: 6.676 MB / 1.217 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.00109/0.5126, allocations: 1.017 MB / 1.527 GB, free: 5.609 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.513, allocations: 167.8 kB / 1.527 GB, free: 5.445 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.513, allocations: 0 / 1.527 GB, free: 5.445 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.5132, allocations: 91.8 kB / 1.527 GB, free: 5.355 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008503/0.5141, allocations: 164 kB / 1.527 GB, free: 5.199 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.5177, allocations: 2.898 MB / 1.53 GB, free: 2.152 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.5181, allocations: 0.7793 MB / 1.531 GB, free: 1.348 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.5182, allocations: 66.92 kB / 1.531 GB, free: 1.281 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.5184, allocations: 91.34 kB / 1.531 GB, free: 1.191 MB / 1.217 GB Notification: Performance of SimCode: time 4.71e-07/0.5184, allocations: 0 / 1.531 GB, free: 1.191 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.5507, allocations: 9.087 MB / 1.54 GB, free: 8.328 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.08, allocations: 9.656 kB / 1.54 GB, free: 8.32 MB / 1.232 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/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: 17.081197691964917]