Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002933/0.002933, allocations: 59.91 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.156, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2386/1.395, allocations: 168.1 MB / 1.436 GB, free: 10.09 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003166/1.398, allocations: 1.556 MB / 1.437 GB, free: 8.824 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/1.398, allocations: 10.5 kB / 1.437 GB, free: 8.82 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005187/1.399, allocations: 148.4 kB / 1.437 GB, free: 8.691 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002026/1.401, allocations: 0.7426 MB / 1.438 GB, free: 8.133 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/1.403, allocations: 0.6189 MB / 1.439 GB, free: 7.676 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00103/1.404, allocations: 0.6994 MB / 1.439 GB, free: 7.273 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/1.404, allocations: 190.6 kB / 1.44 GB, free: 7.145 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007234/1.405, allocations: 347.8 kB / 1.44 GB, free: 6.949 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/1.405, allocations: 235.8 kB / 1.44 GB, free: 6.809 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/1.405, allocations: 21.44 kB / 1.44 GB, free: 6.809 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/1.407, allocations: 0.922 MB / 1.441 GB, free: 6.273 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/1.407, allocations: 109.6 kB / 1.441 GB, free: 6.199 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002199/1.407, allocations: 166.5 kB / 1.441 GB, free: 6.098 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/1.409, allocations: 0.7222 MB / 1.442 GB, free: 5.668 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.409, allocations: 0 / 1.442 GB, free: 5.668 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.823e-06/1.409, allocations: 4 kB / 1.442 GB, free: 5.664 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.075e-06/1.409, allocations: 0 / 1.442 GB, free: 5.664 MB / 1.123 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.001171/1.41, allocations: 0.6704 MB / 1.443 GB, free: 5.062 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.41, allocations: 9.781 kB / 1.443 GB, free: 5.062 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.429e-05/1.41, allocations: 54.39 kB / 1.443 GB, free: 5.008 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/1.411, allocations: 151.7 kB / 1.443 GB, free: 4.938 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006415/1.412, allocations: 330 kB / 1.443 GB, free: 4.629 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/1.412, allocations: 18 kB / 1.443 GB, free: 4.621 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/1.412, allocations: 22.84 kB / 1.443 GB, free: 4.613 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/1.413, allocations: 279.8 kB / 1.443 GB, free: 4.422 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.413, allocations: 0 / 1.443 GB, free: 4.422 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/1.413, allocations: 11.03 kB / 1.443 GB, free: 4.414 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/1.413, allocations: 5.281 kB / 1.443 GB, free: 4.414 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/1.413, allocations: 201.3 kB / 1.444 GB, free: 4.27 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/1.415, allocations: 1.209 MB / 1.445 GB, free: 2.957 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/1.415, allocations: 122.5 kB / 1.445 GB, free: 2.828 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/1.415, allocations: 88.8 kB / 1.445 GB, free: 2.738 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006181/1.416, allocations: 307.2 kB / 1.445 GB, free: 2.383 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/1.416, allocations: 30.56 kB / 1.445 GB, free: 2.344 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/1.416, allocations: 3.938 kB / 1.445 GB, free: 2.34 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.0008058/1.417, allocations: 277.6 kB / 1.446 GB, free: 2.062 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/1.417, allocations: 55.41 kB / 1.446 GB, free: 1.996 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/1.417, allocations: 320.5 kB / 1.446 GB, free: 1.676 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/1.417, allocations: 25.7 kB / 1.446 GB, free: 1.645 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/1.417, allocations: 184.3 kB / 1.446 GB, free: 1.461 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/1.417, allocations: 51.55 kB / 1.446 GB, free: 1.41 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/1.417, allocations: 41.7 kB / 1.446 GB, free: 1.363 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.418, allocations: 342.8 kB / 1.447 GB, free: 1.02 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/1.418, allocations: 75.94 kB / 1.447 GB, free: 0.9453 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/1.418, allocations: 121.7 kB / 1.447 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/1.418, allocations: 196.4 kB / 1.447 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.418, allocations: 0 / 1.447 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004972/1.419, allocations: 241.3 kB / 1.447 GB, free: 368 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.419, allocations: 11.98 kB / 1.447 GB, free: 356 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.419, allocations: 0 / 1.447 GB, free: 356 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/1.419, allocations: 8.094 kB / 1.447 GB, free: 348 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/1.419, allocations: 39.92 kB / 1.447 GB, free: 308 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.419, allocations: 0 / 1.447 GB, free: 308 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/1.419, allocations: 39.77 kB / 1.447 GB, free: 268 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/1.419, allocations: 12 kB / 1.447 GB, free: 256 kB / 1.123 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.000166/1.42, allocations: 153.7 kB / 1.447 GB, free: 92 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/1.42, allocations: 31.81 kB / 1.448 GB, free: 60 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/1.42, allocations: 219.4 kB / 1.448 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.42, allocations: 0 / 1.448 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.42, allocations: 4 kB / 1.448 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.42, allocations: 0 / 1.448 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/1.421, allocations: 0.6874 MB / 1.448 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.421, allocations: 0 / 1.448 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/1.421, allocations: 35.92 kB / 1.448 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.421, allocations: 3.938 kB / 1.448 GB, free: 15.03 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/1.421, allocations: 11.98 kB / 1.448 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.421, allocations: 8.219 kB / 1.448 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.421, allocations: 3.938 kB / 1.448 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/1.422, allocations: 425.2 kB / 1.449 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/1.422, allocations: 128.9 kB / 1.449 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/1.422, allocations: 0 / 1.449 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/1.422, allocations: 15.98 kB / 1.449 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/1.423, allocations: 19.98 kB / 1.449 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/1.423, allocations: 4 kB / 1.449 GB, free: 14.37 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002375/1.423, allocations: 227 kB / 1.449 GB, free: 14.15 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.423, allocations: 0 / 1.449 GB, free: 14.15 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004287/1.423, allocations: 79.89 kB / 1.449 GB, free: 14.07 MB / 1.139 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.001328/1.425, allocations: 1.043 MB / 1.45 GB, free: 12.98 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004419/1.425, allocations: 163.8 kB / 1.451 GB, free: 12.82 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.425, allocations: 0 / 1.451 GB, free: 12.82 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/1.425, allocations: 88.02 kB / 1.451 GB, free: 12.74 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/1.426, allocations: 160 kB / 1.451 GB, free: 12.59 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/1.43, allocations: 2.93 MB / 1.454 GB, free: 9.508 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/1.431, allocations: 0.7795 MB / 1.454 GB, free: 8.699 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002688/1.431, allocations: 66.92 kB / 1.454 GB, free: 8.637 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/1.431, allocations: 91.41 kB / 1.455 GB, free: 8.547 MB / 1.139 GB Notification: Performance of SimCode: time 1.783e-06/1.431, allocations: 0 / 1.455 GB, free: 8.547 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/1.473, allocations: 8.887 MB / 1.463 GB, free: 15.86 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/10.12, allocations: 2.75 kB / 1.463 GB, free: 15.86 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.441426241013687]