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.001223/0.001223, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001376/0.001376, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 7.781 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.901/2.901, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.001901/0.001901, allocations: 69.48 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3266, allocations: 176.1 MB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1791/0.5057, allocations: 147.6 MB / 1.47 GB, free: 13.24 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003048/0.5087, allocations: 1.481 MB / 1.471 GB, free: 11.75 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.5089, allocations: 19.81 kB / 1.472 GB, free: 11.73 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.5094, allocations: 154.9 kB / 1.472 GB, free: 11.58 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.511, allocations: 0.7001 MB / 1.472 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.5124, allocations: 0.6224 MB / 1.473 GB, free: 10.26 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008454/0.5133, allocations: 0.7052 MB / 1.474 GB, free: 9.551 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.5136, allocations: 189.1 kB / 1.474 GB, free: 9.363 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009439/0.5146, allocations: 0.4982 MB / 1.474 GB, free: 8.863 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.5149, allocations: 243 kB / 1.475 GB, free: 8.625 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.5149, allocations: 20 kB / 1.475 GB, free: 8.605 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.5161, allocations: 0.7129 MB / 1.475 GB, free: 7.891 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.5162, allocations: 111.7 kB / 1.475 GB, free: 7.781 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.5164, allocations: 143.3 kB / 1.476 GB, free: 7.641 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009327/0.5173, allocations: 0.6891 MB / 1.476 GB, free: 6.949 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5173, allocations: 0 / 1.476 GB, free: 6.949 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5173, allocations: 0 / 1.476 GB, free: 6.949 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.5173, allocations: 0 / 1.476 GB, free: 6.949 MB / 1.17 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.0009643/0.5183, allocations: 0.5939 MB / 1.477 GB, free: 6.324 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.5183, allocations: 8.031 kB / 1.477 GB, free: 6.316 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.589e-05/0.5184, allocations: 54.55 kB / 1.477 GB, free: 6.254 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.5195, allocations: 163.6 kB / 1.477 GB, free: 6.094 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.52, allocations: 256.1 kB / 1.477 GB, free: 5.812 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.5201, allocations: 16.44 kB / 1.477 GB, free: 5.797 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.5201, allocations: 23.94 kB / 1.477 GB, free: 5.773 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.5206, allocations: 279.5 kB / 1.478 GB, free: 5.48 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5206, allocations: 0 / 1.478 GB, free: 5.48 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.5206, allocations: 8 kB / 1.478 GB, free: 5.473 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.5206, allocations: 8 kB / 1.478 GB, free: 5.465 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.521, allocations: 199.8 kB / 1.478 GB, free: 5.27 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.5226, allocations: 0.9811 MB / 1.479 GB, free: 4.23 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.5229, allocations: 126.5 kB / 1.479 GB, free: 4.098 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.523, allocations: 92.73 kB / 1.479 GB, free: 4.004 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004717/0.5235, allocations: 76.14 kB / 1.479 GB, free: 3.93 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.5236, allocations: 46.48 kB / 1.479 GB, free: 3.875 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.5236, allocations: 0 / 1.479 GB, free: 3.875 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.0007686/0.5243, allocations: 275.3 kB / 1.479 GB, free: 3.602 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.5244, allocations: 59.39 kB / 1.479 GB, free: 3.531 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.5247, allocations: 312.5 kB / 1.48 GB, free: 3.215 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.5247, allocations: 29.7 kB / 1.48 GB, free: 3.18 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.5249, allocations: 184.2 kB / 1.48 GB, free: 2.992 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/0.525, allocations: 55.58 kB / 1.48 GB, free: 2.938 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.525, allocations: 45.66 kB / 1.48 GB, free: 2.887 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5252, allocations: 342.8 kB / 1.48 GB, free: 2.543 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.5254, allocations: 67.95 kB / 1.48 GB, free: 2.477 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.5257, allocations: 203.2 kB / 1.481 GB, free: 2.242 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.526, allocations: 192.1 kB / 1.481 GB, free: 2.039 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.526, allocations: 4 kB / 1.481 GB, free: 2.035 MB / 1.17 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004731/0.5265, allocations: 241.3 kB / 1.481 GB, free: 1.793 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.5265, allocations: 5.719 kB / 1.481 GB, free: 1.789 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.5265, allocations: 4 kB / 1.481 GB, free: 1.785 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.5265, allocations: 144 / 1.481 GB, free: 1.785 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.5267, allocations: 39.92 kB / 1.481 GB, free: 1.746 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.5268, allocations: 4 kB / 1.481 GB, free: 1.742 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.527, allocations: 35.75 kB / 1.481 GB, free: 1.707 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.527, allocations: 8.094 kB / 1.481 GB, free: 1.699 MB / 1.17 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.0001567/0.5271, allocations: 165.7 kB / 1.481 GB, free: 1.527 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.5272, allocations: 27.81 kB / 1.481 GB, free: 1.5 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.5277, allocations: 224.3 kB / 1.481 GB, free: 1.273 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5277, allocations: 0 / 1.481 GB, free: 1.273 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5277, allocations: 0 / 1.481 GB, free: 1.273 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5277, allocations: 0 / 1.481 GB, free: 1.273 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.5287, allocations: 0.6396 MB / 1.482 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5287, allocations: 4 kB / 1.482 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.5289, allocations: 27.98 kB / 1.482 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5289, allocations: 3.938 kB / 1.482 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.5289, allocations: 8 kB / 1.482 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5289, allocations: 4 kB / 1.482 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5289, allocations: 12.09 kB / 1.482 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/0.5296, allocations: 431.7 kB / 1.483 GB, free: 48 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5297, allocations: 47.77 kB / 1.483 GB, free: 0 / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.5297, allocations: 8.094 kB / 1.483 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.5299, allocations: 15.88 kB / 1.483 GB, free: 15.97 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.53, allocations: 15.97 kB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.53, allocations: 8 kB / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000229/0.5302, allocations: 227.1 kB / 1.483 GB, free: 15.73 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5302, allocations: 0 / 1.483 GB, free: 15.73 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004187/0.5306, allocations: 79.92 kB / 1.483 GB, free: 15.65 MB / 1.186 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.001187/0.5318, allocations: 1.003 MB / 1.484 GB, free: 14.59 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004203/0.5322, allocations: 175.7 kB / 1.484 GB, free: 14.42 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5322, allocations: 0 / 1.484 GB, free: 14.42 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.5324, allocations: 79.89 kB / 1.484 GB, free: 14.34 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/0.5333, allocations: 172.3 kB / 1.484 GB, free: 14.18 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.537, allocations: 2.913 MB / 1.487 GB, free: 11.12 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.5372, allocations: 167.2 kB / 1.487 GB, free: 10.94 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.5374, allocations: 66.92 kB / 1.487 GB, free: 10.88 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.5376, allocations: 83.41 kB / 1.487 GB, free: 10.79 MB / 1.186 GB Notification: Performance of SimCode: time 3.91e-07/0.5376, allocations: 0 / 1.487 GB, free: 10.79 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04114/0.5787, allocations: 10.06 MB / 1.497 GB, free: 1.027 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.29, allocations: 5.938 kB / 1.497 GB, free: 1.023 MB / 1.186 GB " [Timeout remaining time 289] (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: 17.32504445000086]