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.001334/0.001334, allocations: 107.1 kB / 16.45 MB, free: 6.035 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.001426/0.001426, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.748/2.748, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.002773/0.002773, allocations: 71.89 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.962/0.9648, allocations: 168.7 MB / 1.269 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2241/1.189, allocations: 167.9 MB / 1.433 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003379/1.192, allocations: 1.557 MB / 1.434 GB, free: 11.24 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005522/1.193, allocations: 7.938 kB / 1.434 GB, free: 11.23 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006176/1.193, allocations: 150.8 kB / 1.434 GB, free: 11.08 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/1.196, allocations: 0.7391 MB / 1.435 GB, free: 10.34 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/1.197, allocations: 0.6025 MB / 1.436 GB, free: 9.738 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001079/1.199, allocations: 0.7051 MB / 1.436 GB, free: 9.027 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/1.199, allocations: 200.9 kB / 1.437 GB, free: 8.828 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007805/1.2, allocations: 346.7 kB / 1.437 GB, free: 8.488 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/1.2, allocations: 231 kB / 1.437 GB, free: 8.262 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/1.2, allocations: 24 kB / 1.437 GB, free: 8.238 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/1.202, allocations: 0.9234 MB / 1.438 GB, free: 7.312 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/1.202, allocations: 111.6 kB / 1.438 GB, free: 7.203 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/1.202, allocations: 163.2 kB / 1.438 GB, free: 7.043 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/1.203, allocations: 0.7225 MB / 1.439 GB, free: 6.32 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.203, allocations: 0 / 1.439 GB, free: 6.32 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.243e-06/1.203, allocations: 0 / 1.439 GB, free: 6.32 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.203, allocations: 8 kB / 1.439 GB, free: 6.312 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.001067/1.204, allocations: 0.6537 MB / 1.44 GB, free: 5.609 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.205, allocations: 8.031 kB / 1.44 GB, free: 5.602 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.513e-05/1.205, allocations: 62.53 kB / 1.44 GB, free: 5.531 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/1.206, allocations: 151.6 kB / 1.44 GB, free: 5.383 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006067/1.206, allocations: 333.8 kB / 1.44 GB, free: 5.016 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/1.206, allocations: 20.44 kB / 1.44 GB, free: 4.996 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/1.206, allocations: 16 kB / 1.44 GB, free: 4.98 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/1.207, allocations: 287.4 kB / 1.441 GB, free: 4.68 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.207, allocations: 3.938 kB / 1.441 GB, free: 4.676 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/1.207, allocations: 12 kB / 1.441 GB, free: 4.664 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/1.207, allocations: 4 kB / 1.441 GB, free: 4.66 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/1.207, allocations: 195.8 kB / 1.441 GB, free: 4.469 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.001555/1.209, allocations: 1.202 MB / 1.442 GB, free: 3.164 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/1.209, allocations: 134.4 kB / 1.442 GB, free: 3.023 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/1.209, allocations: 84.81 kB / 1.442 GB, free: 2.938 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/1.21, allocations: 311.2 kB / 1.442 GB, free: 2.578 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/1.21, allocations: 38.56 kB / 1.442 GB, free: 2.531 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/1.21, allocations: 0 / 1.442 GB, free: 2.531 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0008037/1.211, allocations: 269.6 kB / 1.443 GB, free: 2.262 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/1.211, allocations: 59.41 kB / 1.443 GB, free: 2.191 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/1.211, allocations: 324.4 kB / 1.443 GB, free: 1.867 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/1.211, allocations: 29.7 kB / 1.443 GB, free: 1.832 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/1.211, allocations: 180.3 kB / 1.443 GB, free: 1.652 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.492e-05/1.212, allocations: 55.55 kB / 1.443 GB, free: 1.598 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/1.212, allocations: 41.7 kB / 1.443 GB, free: 1.551 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.212, allocations: 338.8 kB / 1.444 GB, free: 1.211 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/1.212, allocations: 71.95 kB / 1.444 GB, free: 1.141 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/1.212, allocations: 125 kB / 1.444 GB, free: 1 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/1.213, allocations: 189 kB / 1.444 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.213, allocations: 0 / 1.444 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005058/1.213, allocations: 242.7 kB / 1.444 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.213, allocations: 4 kB / 1.444 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.213, allocations: 4 kB / 1.444 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.213, allocations: 8.031 kB / 1.444 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/1.213, allocations: 43.91 kB / 1.444 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.213, allocations: 4 kB / 1.444 GB, free: 0.4922 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/1.213, allocations: 35.77 kB / 1.444 GB, free: 468 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/1.214, allocations: 4 kB / 1.444 GB, free: 464 kB / 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.0001585/1.214, allocations: 153.7 kB / 1.445 GB, free: 300 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/1.214, allocations: 27.81 kB / 1.445 GB, free: 272 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/1.214, allocations: 226 kB / 1.445 GB, free: 40 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.214, allocations: 3.938 kB / 1.445 GB, free: 36 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.214, allocations: 0 / 1.445 GB, free: 36 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.214, allocations: 0 / 1.445 GB, free: 36 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/1.215, allocations: 0.6952 MB / 1.445 GB, free: 15.26 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.215, allocations: 0 / 1.445 GB, free: 15.26 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/1.216, allocations: 27.98 kB / 1.445 GB, free: 15.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.216, allocations: 7.938 kB / 1.445 GB, free: 15.23 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/1.216, allocations: 7.938 kB / 1.445 GB, free: 15.22 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.216, allocations: 4.234 kB / 1.445 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.216, allocations: 11.98 kB / 1.446 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/1.216, allocations: 437.1 kB / 1.446 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/1.216, allocations: 124.8 kB / 1.446 GB, free: 14.6 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/1.217, allocations: 8 kB / 1.446 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/1.217, allocations: 4 kB / 1.446 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/1.217, allocations: 20.05 kB / 1.446 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/1.217, allocations: 4 kB / 1.446 GB, free: 14.56 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002519/1.217, allocations: 227 kB / 1.446 GB, free: 14.34 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.217, allocations: 0 / 1.446 GB, free: 14.34 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004137/1.217, allocations: 87.88 kB / 1.446 GB, free: 14.25 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.001371/1.219, allocations: 1.036 MB / 1.447 GB, free: 13.18 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000444/1.219, allocations: 170.6 kB / 1.448 GB, free: 13.01 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.219, allocations: 3.938 kB / 1.448 GB, free: 13.01 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/1.219, allocations: 88.02 kB / 1.448 GB, free: 12.92 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008783/1.22, allocations: 161.6 kB / 1.448 GB, free: 12.77 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/1.224, allocations: 2.916 MB / 1.451 GB, free: 9.703 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/1.225, allocations: 0.7756 MB / 1.451 GB, free: 8.898 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002444/1.225, allocations: 66.92 kB / 1.451 GB, free: 8.836 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/1.225, allocations: 87.41 kB / 1.452 GB, free: 8.75 MB / 1.154 GB Notification: Performance of SimCode: time 9.02e-07/1.225, allocations: 0 / 1.452 GB, free: 8.75 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/1.264, allocations: 8.886 MB / 1.46 GB, free: 64 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.807/10.07, allocations: 8.062 kB / 1.46 GB, free: 56 kB / 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 --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_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.22523167869076]