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.001794/0.001794, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.0022/0.0022, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.909/2.909, allocations: 476.7 MB / 0.7678 GB, free: 9.355 MB / 0.6075 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.002245/0.002245, allocations: 67.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173/1.175, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2359/1.411, allocations: 170.8 MB / 1.446 GB, free: 1.078 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003999/1.415, allocations: 1.556 MB / 1.447 GB, free: 15.52 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006599/1.416, allocations: 15.88 kB / 1.447 GB, free: 15.51 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000748/1.417, allocations: 150.8 kB / 1.447 GB, free: 15.36 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/1.419, allocations: 0.7391 MB / 1.448 GB, free: 14.62 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/1.421, allocations: 0.5999 MB / 1.449 GB, free: 14.02 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001383/1.422, allocations: 0.7089 MB / 1.449 GB, free: 13.3 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004696/1.423, allocations: 200.9 kB / 1.45 GB, free: 13.11 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007833/1.424, allocations: 338.8 kB / 1.45 GB, free: 12.77 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/1.424, allocations: 242.9 kB / 1.45 GB, free: 12.54 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/1.424, allocations: 24 kB / 1.45 GB, free: 12.51 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/1.426, allocations: 0.9234 MB / 1.451 GB, free: 11.59 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/1.426, allocations: 115.7 kB / 1.451 GB, free: 11.47 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/1.426, allocations: 167.2 kB / 1.451 GB, free: 11.31 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/1.428, allocations: 0.7184 MB / 1.452 GB, free: 10.59 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/1.428, allocations: 4 kB / 1.452 GB, free: 10.59 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.785e-06/1.428, allocations: 0 / 1.452 GB, free: 10.59 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.428, allocations: 0 / 1.452 GB, free: 10.59 MB / 1.139 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.001081/1.429, allocations: 0.6653 MB / 1.453 GB, free: 9.871 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.429, allocations: 12.03 kB / 1.453 GB, free: 9.859 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.867e-05/1.429, allocations: 8.438 kB / 1.453 GB, free: 9.852 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.96e-05/1.429, allocations: 58.48 kB / 1.453 GB, free: 9.785 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/1.43, allocations: 159.6 kB / 1.453 GB, free: 9.629 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/1.431, allocations: 321.9 kB / 1.453 GB, free: 9.277 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/1.431, allocations: 16.44 kB / 1.453 GB, free: 9.258 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/1.431, allocations: 24 kB / 1.453 GB, free: 9.234 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/1.431, allocations: 279.4 kB / 1.454 GB, free: 8.941 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.431, allocations: 4 kB / 1.454 GB, free: 8.938 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/1.431, allocations: 12 kB / 1.454 GB, free: 8.926 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/1.431, allocations: 4 kB / 1.454 GB, free: 8.922 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/1.432, allocations: 195.8 kB / 1.454 GB, free: 8.73 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.00159/1.433, allocations: 1.213 MB / 1.455 GB, free: 7.414 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/1.434, allocations: 126.5 kB / 1.455 GB, free: 7.281 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/1.434, allocations: 92.73 kB / 1.455 GB, free: 7.188 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006252/1.434, allocations: 299.2 kB / 1.455 GB, free: 6.84 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.434, allocations: 30.56 kB / 1.455 GB, free: 6.801 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/1.434, allocations: 4 kB / 1.455 GB, free: 6.797 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0008512/1.435, allocations: 281.5 kB / 1.456 GB, free: 6.516 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/1.435, allocations: 51.41 kB / 1.456 GB, free: 6.453 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/1.436, allocations: 316.5 kB / 1.456 GB, free: 6.133 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/1.436, allocations: 29.7 kB / 1.456 GB, free: 6.098 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/1.436, allocations: 188.3 kB / 1.456 GB, free: 5.91 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/1.436, allocations: 51.58 kB / 1.456 GB, free: 5.859 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/1.436, allocations: 45.7 kB / 1.456 GB, free: 5.809 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.436, allocations: 338.8 kB / 1.457 GB, free: 5.469 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/1.436, allocations: 67.95 kB / 1.457 GB, free: 5.402 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/1.437, allocations: 121 kB / 1.457 GB, free: 5.266 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/1.437, allocations: 191 kB / 1.457 GB, free: 5.062 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.437, allocations: 0 / 1.457 GB, free: 5.062 MB / 1.139 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005053/1.438, allocations: 249.3 kB / 1.457 GB, free: 4.812 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.438, allocations: 8 kB / 1.457 GB, free: 4.805 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.438, allocations: 0 / 1.457 GB, free: 4.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.438, allocations: 8 kB / 1.457 GB, free: 4.797 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/1.438, allocations: 39.98 kB / 1.457 GB, free: 4.758 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/1.438, allocations: 4 kB / 1.457 GB, free: 4.754 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/1.438, allocations: 35.8 kB / 1.457 GB, free: 4.719 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/1.438, allocations: 12 kB / 1.457 GB, free: 4.707 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.0001587/1.438, allocations: 151.9 kB / 1.458 GB, free: 4.551 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/1.438, allocations: 31.81 kB / 1.458 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/1.439, allocations: 223 kB / 1.458 GB, free: 4.297 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/1.439, allocations: 4 kB / 1.458 GB, free: 4.293 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.439, allocations: 0 / 1.458 GB, free: 4.293 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.439, allocations: 4 kB / 1.458 GB, free: 4.289 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/1.44, allocations: 0.6835 MB / 1.459 GB, free: 3.527 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/1.44, allocations: 4 kB / 1.459 GB, free: 3.523 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/1.44, allocations: 35.86 kB / 1.459 GB, free: 3.488 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.44, allocations: 7.922 kB / 1.459 GB, free: 3.48 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/1.44, allocations: 8 kB / 1.459 GB, free: 3.473 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/1.44, allocations: 4 kB / 1.459 GB, free: 3.469 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.44, allocations: 4 kB / 1.459 GB, free: 3.465 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/1.441, allocations: 429.3 kB / 1.459 GB, free: 3.008 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/1.441, allocations: 128.9 kB / 1.459 GB, free: 2.863 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/1.441, allocations: 4 kB / 1.459 GB, free: 2.859 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/1.441, allocations: 11.98 kB / 1.459 GB, free: 2.848 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/1.441, allocations: 11.98 kB / 1.459 GB, free: 2.836 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/1.441, allocations: 11.94 kB / 1.459 GB, free: 2.824 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002499/1.442, allocations: 223 kB / 1.459 GB, free: 2.605 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.442, allocations: 64 / 1.459 GB, free: 2.605 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004267/1.442, allocations: 87.89 kB / 1.459 GB, free: 2.52 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.001273/1.443, allocations: 1.015 MB / 1.46 GB, free: 1.453 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004728/1.444, allocations: 172.7 kB / 1.461 GB, free: 1.289 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.444, allocations: 0 / 1.461 GB, free: 1.289 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.444, allocations: 83.91 kB / 1.461 GB, free: 1.207 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/1.445, allocations: 170.6 kB / 1.461 GB, free: 1.047 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/1.449, allocations: 2.918 MB / 1.464 GB, free: 13.98 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/1.45, allocations: 0.7795 MB / 1.464 GB, free: 13.18 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002697/1.45, allocations: 66.92 kB / 1.465 GB, free: 13.11 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/1.45, allocations: 87.41 kB / 1.465 GB, free: 13.03 MB / 1.154 GB Notification: Performance of SimCode: time 8.22e-07/1.45, allocations: 0 / 1.465 GB, free: 13.03 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/1.482, allocations: 8.882 MB / 1.473 GB, free: 4.344 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.112/10.59, allocations: 8.906 kB / 1.473 GB, free: 4.34 MB / 1.154 GB " [Timeout remaining time 289] (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: 17.152106099994853]