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.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.001758/0.001758, allocations: 101.3 kB / 19.73 MB, free: 2.109 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.002142/0.002142, allocations: 215.1 kB / 23.03 MB, free: 4.902 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.902/2.902, allocations: 476.8 MB / 0.7715 GB, free: 3.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_11_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.001959/0.001959, allocations: 62.06 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.201/0.5156, allocations: 147.5 MB / 1.428 GB, free: 6.559 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003057/0.5187, allocations: 1.477 MB / 1.43 GB, free: 5.082 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.5191, allocations: 15.88 kB / 1.43 GB, free: 5.066 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000597/0.5197, allocations: 162.8 kB / 1.43 GB, free: 4.906 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.5217, allocations: 0.7079 MB / 1.43 GB, free: 4.195 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.5234, allocations: 0.6279 MB / 1.431 GB, free: 3.57 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.5244, allocations: 0.7129 MB / 1.432 GB, free: 2.852 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004008/0.5248, allocations: 188.6 kB / 1.432 GB, free: 2.668 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007203/0.5256, allocations: 346.7 kB / 1.432 GB, free: 2.328 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.5259, allocations: 235.1 kB / 1.433 GB, free: 2.098 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.526, allocations: 28 kB / 1.433 GB, free: 2.07 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.5275, allocations: 0.7245 MB / 1.433 GB, free: 1.344 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.5277, allocations: 115.6 kB / 1.433 GB, free: 1.23 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.5279, allocations: 143.4 kB / 1.433 GB, free: 1.09 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.5292, allocations: 0.6868 MB / 1.434 GB, free: 412 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5292, allocations: 0 / 1.434 GB, free: 412 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5292, allocations: 0 / 1.434 GB, free: 412 kB / 1.123 GB Notification: Performance of Transformations before backend: time 8.475e-06/0.5292, allocations: 4 kB / 1.434 GB, free: 408 kB / 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.001063/0.5303, allocations: 0.5862 MB / 1.435 GB, free: 15.78 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5303, allocations: 12.03 kB / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.015e-05/0.5304, allocations: 12.38 kB / 1.435 GB, free: 15.76 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.5304, allocations: 54.55 kB / 1.435 GB, free: 15.7 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.5317, allocations: 159.6 kB / 1.435 GB, free: 15.54 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006229/0.5323, allocations: 252.1 kB / 1.435 GB, free: 15.27 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.5323, allocations: 16.44 kB / 1.435 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.5324, allocations: 24 kB / 1.435 GB, free: 15.23 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/0.5329, allocations: 279.3 kB / 1.436 GB, free: 14.93 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5329, allocations: 0 / 1.436 GB, free: 14.93 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.533, allocations: 12 kB / 1.436 GB, free: 14.92 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.533, allocations: 4 kB / 1.436 GB, free: 14.92 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.5334, allocations: 199.8 kB / 1.436 GB, free: 14.72 MB / 1.139 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.001477/0.5349, allocations: 0.9812 MB / 1.437 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.5352, allocations: 126.5 kB / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.5354, allocations: 96.73 kB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005076/0.5359, allocations: 76.19 kB / 1.437 GB, free: 13.38 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.5359, allocations: 34.56 kB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 2.395e-06/0.5359, allocations: 3.938 kB / 1.437 GB, free: 13.33 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0008556/0.5368, allocations: 281.2 kB / 1.437 GB, free: 13.05 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.5368, allocations: 55.41 kB / 1.437 GB, free: 12.98 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.5372, allocations: 320.5 kB / 1.438 GB, free: 12.67 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.5372, allocations: 25.7 kB / 1.438 GB, free: 12.64 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.5374, allocations: 176.3 kB / 1.438 GB, free: 12.46 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.5374, allocations: 63.45 kB / 1.438 GB, free: 12.4 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.5375, allocations: 37.72 kB / 1.438 GB, free: 12.36 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5377, allocations: 342.8 kB / 1.438 GB, free: 12.01 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.5379, allocations: 67.95 kB / 1.438 GB, free: 11.95 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.5381, allocations: 201.3 kB / 1.438 GB, free: 11.71 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.5385, allocations: 188.9 kB / 1.439 GB, free: 11.51 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.5385, allocations: 4 kB / 1.439 GB, free: 11.51 MB / 1.139 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005351/0.5391, allocations: 241.3 kB / 1.439 GB, free: 11.27 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5391, allocations: 4 kB / 1.439 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5391, allocations: 4 kB / 1.439 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5391, allocations: 0 / 1.439 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.5393, allocations: 35.98 kB / 1.439 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.5393, allocations: 11.92 kB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.5395, allocations: 31.78 kB / 1.439 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.5396, allocations: 20.08 kB / 1.439 GB, free: 11.16 MB / 1.139 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.0001656/0.5397, allocations: 149.8 kB / 1.439 GB, free: 11 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.5398, allocations: 27.81 kB / 1.439 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.5403, allocations: 223.7 kB / 1.439 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5403, allocations: 0 / 1.439 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5403, allocations: 144 / 1.439 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.5403, allocations: 3.984 kB / 1.439 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.5414, allocations: 0.6358 MB / 1.44 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5414, allocations: 4 kB / 1.44 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.5416, allocations: 39.86 kB / 1.44 GB, free: 9.996 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5416, allocations: 0 / 1.44 GB, free: 9.996 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.5416, allocations: 4 kB / 1.44 GB, free: 9.992 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.5416, allocations: 4.219 kB / 1.44 GB, free: 9.988 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.5416, allocations: 4 kB / 1.44 GB, free: 9.984 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.5424, allocations: 437.1 kB / 1.44 GB, free: 9.52 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.5425, allocations: 51.7 kB / 1.441 GB, free: 9.469 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.5425, allocations: 11.98 kB / 1.441 GB, free: 9.457 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.5427, allocations: 4 kB / 1.441 GB, free: 9.453 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.5428, allocations: 23.91 kB / 1.441 GB, free: 9.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.5428, allocations: 8.062 kB / 1.441 GB, free: 9.422 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002721/0.543, allocations: 227 kB / 1.441 GB, free: 9.203 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.543, allocations: 0 / 1.441 GB, free: 9.203 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004205/0.5435, allocations: 79.89 kB / 1.441 GB, free: 9.125 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.001197/0.5447, allocations: 1.015 MB / 1.442 GB, free: 8.059 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.5451, allocations: 168.3 kB / 1.442 GB, free: 7.895 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5451, allocations: 3.938 kB / 1.442 GB, free: 7.891 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.5453, allocations: 79.83 kB / 1.442 GB, free: 7.812 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008782/0.5462, allocations: 166.9 kB / 1.442 GB, free: 7.652 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.5501, allocations: 2.912 MB / 1.445 GB, free: 4.594 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.5503, allocations: 179.1 kB / 1.445 GB, free: 4.398 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000228/0.5505, allocations: 62.88 kB / 1.445 GB, free: 4.336 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.5507, allocations: 91.41 kB / 1.445 GB, free: 4.246 MB / 1.139 GB Notification: Performance of SimCode: time 6.01e-07/0.5507, allocations: 0 / 1.445 GB, free: 4.246 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.587, allocations: 9.608 MB / 1.455 GB, free: 10.97 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.55, allocations: 13.02 kB / 1.455 GB, free: 10.96 MB / 1.154 GB " [Timeout remaining time 287] (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 --stepSize=0.024 --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/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: 19.53053590201307]