Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.00151/0.00151, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001643/0.001643, allocations: 211.4 kB / 23.02 MB, free: 4.926 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.235/3.235, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.001929/0.001929, allocations: 63.09 kB / 1.171 GB, free: 19.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3579, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06123/0.4191, allocations: 50.39 MB / 1.395 GB, free: 13.37 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.4367, allocations: 9.727 MB / 1.404 GB, free: 3.617 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.4391, allocations: 99.12 kB / 1.404 GB, free: 3.52 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.4419, allocations: 0.9125 MB / 1.405 GB, free: 2.602 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006367/0.4483, allocations: 2.072 MB / 1.407 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005904/0.4542, allocations: 2.037 MB / 1.409 GB, free: 14.48 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006462/0.4607, allocations: 3.823 MB / 1.413 GB, free: 10.64 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.4631, allocations: 0.9901 MB / 1.414 GB, free: 9.625 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/0.468, allocations: 1.984 MB / 1.416 GB, free: 7.633 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.4707, allocations: 1.268 MB / 1.417 GB, free: 6.359 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005847/0.4713, allocations: 104 kB / 1.417 GB, free: 6.258 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.4746, allocations: 1.052 MB / 1.418 GB, free: 5.203 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007958/0.4754, allocations: 410.2 kB / 1.418 GB, free: 4.801 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.4771, allocations: 0.7034 MB / 1.419 GB, free: 4.094 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005791/0.4829, allocations: 2.432 MB / 1.421 GB, free: 1.652 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4829, allocations: 0 / 1.421 GB, free: 1.652 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4829, allocations: 0 / 1.421 GB, free: 1.652 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.706e-05/0.483, allocations: 0 / 1.421 GB, free: 1.652 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005113/0.4881, allocations: 2.126 MB / 1.424 GB, free: 15.47 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.4882, allocations: 11.97 kB / 1.424 GB, free: 15.46 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.248e-05/0.4882, allocations: 30.14 kB / 1.424 GB, free: 15.43 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003411/0.4886, allocations: 164.8 kB / 1.424 GB, free: 15.26 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/0.4924, allocations: 0.6582 MB / 1.424 GB, free: 14.6 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.4957, allocations: 1.087 MB / 1.425 GB, free: 13.47 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.4958, allocations: 78.14 kB / 1.426 GB, free: 13.39 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.4961, allocations: 108 kB / 1.426 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004072/0.5001, allocations: 1.508 MB / 1.427 GB, free: 11.62 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.5002, allocations: 3.938 kB / 1.427 GB, free: 11.62 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.5003, allocations: 48 kB / 1.427 GB, free: 11.57 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.5004, allocations: 28 kB / 1.427 GB, free: 11.54 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/0.5043, allocations: 1.233 MB / 1.428 GB, free: 10.31 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.5151, allocations: 6.592 MB / 1.435 GB, free: 3.484 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.5187, allocations: 1.063 MB / 1.436 GB, free: 2.414 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.5203, allocations: 0.54 MB / 1.436 GB, free: 1.875 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.5214, allocations: 286.2 kB / 1.437 GB, free: 1.598 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002009/0.5234, allocations: 0.68 MB / 1.437 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 3.987e-06/0.5234, allocations: 0 / 1.437 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.005822/0.5292, allocations: 1.815 MB / 1.439 GB, free: 15.08 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.5293, allocations: 76.22 kB / 1.439 GB, free: 14.99 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.5319, allocations: 1.545 MB / 1.441 GB, free: 13.44 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.5321, allocations: 49.7 kB / 1.441 GB, free: 13.38 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008541/0.5329, allocations: 0.8 MB / 1.442 GB, free: 12.58 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/0.5334, allocations: 313.4 kB / 1.442 GB, free: 12.27 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/0.5338, allocations: 226.8 kB / 1.442 GB, free: 12.04 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.534, allocations: 345.9 kB / 1.442 GB, free: 11.7 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.5357, allocations: 0.5256 MB / 1.443 GB, free: 11.17 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.5379, allocations: 1.137 MB / 1.444 GB, free: 9.82 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/0.5416, allocations: 1.426 MB / 1.445 GB, free: 8.246 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.5416, allocations: 4 kB / 1.445 GB, free: 8.242 MB / 1.139 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004655/0.5463, allocations: 1.629 MB / 1.447 GB, free: 6.605 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.5463, allocations: 12.19 kB / 1.447 GB, free: 6.594 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.5463, allocations: 16 kB / 1.447 GB, free: 6.578 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.941e-05/0.5464, allocations: 16 kB / 1.447 GB, free: 6.562 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.5478, allocations: 339.5 kB / 1.447 GB, free: 6.23 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.071e-05/0.5479, allocations: 27.86 kB / 1.447 GB, free: 6.203 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.5497, allocations: 230.8 kB / 1.448 GB, free: 5.977 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.5499, allocations: 71.89 kB / 1.448 GB, free: 5.906 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.0007774/0.5506, allocations: 343.4 kB / 1.448 GB, free: 5.559 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000515/0.5512, allocations: 174.9 kB / 1.448 GB, free: 5.387 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005577/0.5567, allocations: 2.19 MB / 1.45 GB, free: 3.188 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-05/0.5568, allocations: 19.98 kB / 1.45 GB, free: 3.168 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.5568, allocations: 3.938 kB / 1.45 GB, free: 3.164 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.5568, allocations: 7.969 kB / 1.45 GB, free: 3.156 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007558/0.5644, allocations: 3.24 MB / 1.453 GB, free: 15.84 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.5644, allocations: 0 / 1.453 GB, free: 15.84 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.5656, allocations: 235.9 kB / 1.454 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.186e-05/0.5656, allocations: 7.984 kB / 1.454 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.5657, allocations: 39.97 kB / 1.454 GB, free: 15.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.5657, allocations: 4 kB / 1.454 GB, free: 15.56 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/0.5658, allocations: 7.938 kB / 1.454 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006737/0.5725, allocations: 2.827 MB / 1.457 GB, free: 12.69 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008433/0.5733, allocations: 322.3 kB / 1.457 GB, free: 12.38 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004063/0.5737, allocations: 24 kB / 1.457 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.575, allocations: 127.8 kB / 1.457 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.5752, allocations: 84.78 kB / 1.457 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.5753, allocations: 51.95 kB / 1.457 GB, free: 12.09 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001864/0.5772, allocations: 1.046 MB / 1.458 GB, free: 11.05 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5772, allocations: 0 / 1.458 GB, free: 11.05 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001983/0.5792, allocations: 0.5535 MB / 1.459 GB, free: 10.5 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 6 * 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.009876/0.589, allocations: 4.138 MB / 1.463 GB, free: 6.504 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004119/0.5932, allocations: 1.454 MB / 1.464 GB, free: 5.051 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.5932, allocations: 0 / 1.464 GB, free: 5.051 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.5953, allocations: 0.7793 MB / 1.465 GB, free: 4.266 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/0.599, allocations: 0.7439 MB / 1.466 GB, free: 3.539 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02736/0.6264, allocations: 12.76 MB / 1.478 GB, free: 6.238 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.6274, allocations: 0.7352 MB / 1.479 GB, free: 5.465 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001617/0.629, allocations: 380.8 kB / 1.479 GB, free: 5.086 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/0.6302, allocations: 0.7101 MB / 1.48 GB, free: 4.375 MB / 1.17 GB Notification: Performance of SimCode: time 1.633e-06/0.6302, allocations: 0 / 1.48 GB, free: 4.375 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.7318, allocations: 51.74 MB / 1.53 GB, free: 1.492 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.58, allocations: 15.92 kB / 1.53 GB, free: 1.477 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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: 22.713230327004567]