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.00146/0.00146, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001658/0.001658, allocations: 208.7 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.92/2.92, allocations: 476.7 MB / 0.7715 GB, free: 4.352 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.001978/0.001978, allocations: 63.86 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3364, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2155/0.5519, allocations: 171 MB / 1.451 GB, free: 132 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003294/0.5552, allocations: 1.554 MB / 1.453 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.5555, allocations: 19.88 kB / 1.453 GB, free: 14.55 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.5561, allocations: 154.9 kB / 1.453 GB, free: 14.4 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.5579, allocations: 0.739 MB / 1.454 GB, free: 13.66 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.5598, allocations: 0.6383 MB / 1.454 GB, free: 13.02 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.5609, allocations: 0.7168 MB / 1.455 GB, free: 12.3 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.5612, allocations: 182.6 kB / 1.455 GB, free: 12.12 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006773/0.5619, allocations: 354.7 kB / 1.455 GB, free: 11.77 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.5623, allocations: 231.1 kB / 1.456 GB, free: 11.55 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.5623, allocations: 24 kB / 1.456 GB, free: 11.52 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.5643, allocations: 0.9468 MB / 1.457 GB, free: 10.57 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.5645, allocations: 115.6 kB / 1.457 GB, free: 10.46 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.5647, allocations: 163.2 kB / 1.457 GB, free: 10.3 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.5659, allocations: 0.724 MB / 1.458 GB, free: 9.578 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5659, allocations: 4 kB / 1.458 GB, free: 9.574 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5659, allocations: 3.938 kB / 1.458 GB, free: 9.57 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.566, allocations: 0 / 1.458 GB, free: 9.57 MB / 1.154 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.00104/0.567, allocations: 0.5823 MB / 1.458 GB, free: 8.957 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.5671, allocations: 8.031 kB / 1.458 GB, free: 8.949 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.234e-05/0.5671, allocations: 4.438 kB / 1.458 GB, free: 8.945 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.225e-05/0.5671, allocations: 58.53 kB / 1.458 GB, free: 8.879 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.5683, allocations: 163.6 kB / 1.458 GB, free: 8.719 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.5689, allocations: 256 kB / 1.459 GB, free: 8.445 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.5689, allocations: 16.44 kB / 1.459 GB, free: 8.43 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.5689, allocations: 28 kB / 1.459 GB, free: 8.402 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005696/0.5695, allocations: 279.4 kB / 1.459 GB, free: 8.105 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5695, allocations: 3.938 kB / 1.459 GB, free: 8.102 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.5696, allocations: 12 kB / 1.459 GB, free: 8.09 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.5696, allocations: 4 kB / 1.459 GB, free: 8.086 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.57, allocations: 203.8 kB / 1.459 GB, free: 7.887 MB / 1.154 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.001895/0.5719, allocations: 1.171 MB / 1.46 GB, free: 6.621 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.5723, allocations: 134.4 kB / 1.46 GB, free: 6.48 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.5725, allocations: 92.73 kB / 1.46 GB, free: 6.387 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000485/0.573, allocations: 71.92 kB / 1.461 GB, free: 6.316 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.573, allocations: 30.56 kB / 1.461 GB, free: 6.277 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.573, allocations: 0 / 1.461 GB, free: 6.277 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.0008337/0.5739, allocations: 284.6 kB / 1.461 GB, free: 5.996 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.5739, allocations: 51.41 kB / 1.461 GB, free: 5.934 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.5743, allocations: 316.8 kB / 1.461 GB, free: 5.621 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.5743, allocations: 33.7 kB / 1.461 GB, free: 5.582 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.5745, allocations: 188.2 kB / 1.461 GB, free: 5.395 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.5745, allocations: 47.53 kB / 1.461 GB, free: 5.348 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.537e-05/0.5746, allocations: 57.66 kB / 1.461 GB, free: 5.285 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002563/0.5749, allocations: 334.8 kB / 1.462 GB, free: 4.949 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.575, allocations: 63.95 kB / 1.462 GB, free: 4.887 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.5753, allocations: 127.5 kB / 1.462 GB, free: 4.746 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.5757, allocations: 189 kB / 1.462 GB, free: 4.543 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5757, allocations: 0 / 1.462 GB, free: 4.543 MB / 1.154 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004941/0.5762, allocations: 244.3 kB / 1.462 GB, free: 4.301 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5762, allocations: 8 kB / 1.462 GB, free: 4.293 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5762, allocations: 0 / 1.462 GB, free: 4.293 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5762, allocations: 4 kB / 1.462 GB, free: 4.289 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.5764, allocations: 47.91 kB / 1.462 GB, free: 4.242 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.5764, allocations: 4 kB / 1.462 GB, free: 4.238 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.5766, allocations: 27.81 kB / 1.462 GB, free: 4.211 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.5767, allocations: 11.94 kB / 1.462 GB, free: 4.199 MB / 1.154 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.0002888/0.577, allocations: 153.8 kB / 1.463 GB, free: 4.039 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.577, allocations: 31.81 kB / 1.463 GB, free: 4.008 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.5775, allocations: 220.2 kB / 1.463 GB, free: 3.781 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.5775, allocations: 4 kB / 1.463 GB, free: 3.777 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5775, allocations: 0 / 1.463 GB, free: 3.777 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.5775, allocations: 3.984 kB / 1.463 GB, free: 3.773 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.5787, allocations: 0.6474 MB / 1.464 GB, free: 3.055 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.5787, allocations: 7.984 kB / 1.464 GB, free: 3.047 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.5789, allocations: 40.14 kB / 1.464 GB, free: 3.008 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.5789, allocations: 4 kB / 1.464 GB, free: 3.004 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.5789, allocations: 4 kB / 1.464 GB, free: 3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.5789, allocations: 7.938 kB / 1.464 GB, free: 2.992 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5789, allocations: 4 kB / 1.464 GB, free: 2.988 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.5797, allocations: 425.2 kB / 1.464 GB, free: 2.535 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.5798, allocations: 55.66 kB / 1.464 GB, free: 2.48 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.5798, allocations: 15.92 kB / 1.464 GB, free: 2.465 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.58, allocations: 8.062 kB / 1.464 GB, free: 2.457 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.58, allocations: 19.97 kB / 1.464 GB, free: 2.438 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.5801, allocations: 4 kB / 1.464 GB, free: 2.434 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002423/0.5803, allocations: 223.1 kB / 1.464 GB, free: 2.219 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5803, allocations: 0 / 1.464 GB, free: 2.219 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004051/0.5807, allocations: 83.88 kB / 1.464 GB, free: 2.137 MB / 1.154 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.001239/0.5819, allocations: 1.018 MB / 1.465 GB, free: 1.07 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.5824, allocations: 167.7 kB / 1.466 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5824, allocations: 4.188 kB / 1.466 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.5826, allocations: 83.89 kB / 1.466 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.5835, allocations: 157.4 kB / 1.466 GB, free: 0.668 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.5889, allocations: 2.927 MB / 1.469 GB, free: 13.59 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/0.5895, allocations: 0.7756 MB / 1.469 GB, free: 12.79 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002834/0.5898, allocations: 62.92 kB / 1.469 GB, free: 12.73 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.59, allocations: 91.41 kB / 1.47 GB, free: 12.64 MB / 1.17 GB Notification: Performance of SimCode: time 1.052e-06/0.59, allocations: 0 / 1.47 GB, free: 12.64 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.6272, allocations: 9.077 MB / 1.478 GB, free: 3.809 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.49, allocations: 8.25 kB / 1.478 GB, free: 3.805 MB / 1.17 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.4555135529954]