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.001247/0.001247, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001453/0.001453, allocations: 219.4 kB / 23.05 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.345/1.345, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] 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 2.937/2.937, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 177] 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.001845/0.001845, allocations: 69.73 kB / 1.171 GB, free: 19.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2837, allocations: 179 MB / 1.345 GB, free: 420 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.054/0.3377, allocations: 55.8 MB / 1.4 GB, free: 8.426 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01467/0.3524, allocations: 10.5 MB / 1.41 GB, free: 13.89 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.3542, allocations: 95.12 kB / 1.41 GB, free: 13.8 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.3564, allocations: 0.9202 MB / 1.411 GB, free: 12.88 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005168/0.3616, allocations: 2.083 MB / 1.413 GB, free: 10.78 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.3665, allocations: 2.082 MB / 1.415 GB, free: 8.699 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005308/0.3718, allocations: 3.823 MB / 1.419 GB, free: 4.863 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.3737, allocations: 0.9862 MB / 1.42 GB, free: 3.848 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.3777, allocations: 1.992 MB / 1.422 GB, free: 1.848 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.3798, allocations: 1.272 MB / 1.423 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.3801, allocations: 104 kB / 1.423 GB, free: 480 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.383, allocations: 1.372 MB / 1.424 GB, free: 15.09 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004779/0.3835, allocations: 402.2 kB / 1.425 GB, free: 14.7 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.3846, allocations: 0.8586 MB / 1.426 GB, free: 13.84 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.3886, allocations: 2.479 MB / 1.428 GB, free: 11.35 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3886, allocations: 0 / 1.428 GB, free: 11.35 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3886, allocations: 3.938 kB / 1.428 GB, free: 11.34 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.376e-05/0.3886, allocations: 0 / 1.428 GB, free: 11.34 MB / 1.123 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.003545/0.3921, allocations: 2.133 MB / 1.43 GB, free: 9.16 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3922, allocations: 8.031 kB / 1.43 GB, free: 9.152 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.906e-05/0.3922, allocations: 34.14 kB / 1.43 GB, free: 9.117 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.3924, allocations: 164.8 kB / 1.43 GB, free: 8.945 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.3958, allocations: 0.6582 MB / 1.431 GB, free: 8.285 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.398, allocations: 1.105 MB / 1.432 GB, free: 7.133 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-05/0.3981, allocations: 86.08 kB / 1.432 GB, free: 7.047 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.3983, allocations: 112 kB / 1.432 GB, free: 6.938 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/0.4013, allocations: 1.488 MB / 1.434 GB, free: 5.293 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.4013, allocations: 7.938 kB / 1.434 GB, free: 5.285 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.4014, allocations: 48 kB / 1.434 GB, free: 5.238 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.4014, allocations: 28 kB / 1.434 GB, free: 5.211 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003377/0.4048, allocations: 1.225 MB / 1.435 GB, free: 3.984 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00907/0.4139, allocations: 8.323 MB / 1.443 GB, free: 11.06 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/0.4171, allocations: 1.054 MB / 1.444 GB, free: 10 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.4186, allocations: 0.5297 MB / 1.445 GB, free: 9.469 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009368/0.4196, allocations: 290.3 kB / 1.445 GB, free: 9.188 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/0.4213, allocations: 0.6761 MB / 1.446 GB, free: 8.496 MB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 2.885e-06/0.4213, allocations: 0 / 1.446 GB, free: 8.496 MB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.005263/0.4266, allocations: 1.795 MB / 1.447 GB, free: 6.695 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.4267, allocations: 68.41 kB / 1.447 GB, free: 6.617 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.4285, allocations: 1.514 MB / 1.449 GB, free: 5.098 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.786e-05/0.4286, allocations: 49.69 kB / 1.449 GB, free: 5.043 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/0.4293, allocations: 0.8078 MB / 1.45 GB, free: 4.227 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.4295, allocations: 305.4 kB / 1.45 GB, free: 3.926 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/0.4299, allocations: 226.8 kB / 1.45 GB, free: 3.699 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.43, allocations: 345.9 kB / 1.451 GB, free: 3.355 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.4315, allocations: 0.5178 MB / 1.451 GB, free: 2.836 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.4334, allocations: 0.9109 MB / 1.452 GB, free: 1.762 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003329/0.4367, allocations: 1.41 MB / 1.453 GB, free: 208 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.4368, allocations: 4 kB / 1.453 GB, free: 204 kB / 1.139 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004159/0.4409, allocations: 1.617 MB / 1.455 GB, free: 14.57 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4409, allocations: 8 kB / 1.455 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.4409, allocations: 12 kB / 1.455 GB, free: 14.55 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.441, allocations: 19.98 kB / 1.455 GB, free: 14.54 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.4423, allocations: 347.9 kB / 1.455 GB, free: 14.2 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.842e-05/0.4424, allocations: 27.92 kB / 1.455 GB, free: 14.17 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.4437, allocations: 226.8 kB / 1.456 GB, free: 13.95 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.4439, allocations: 67.97 kB / 1.456 GB, free: 13.88 MB / 1.154 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.0005604/0.4444, allocations: 344 kB / 1.456 GB, free: 13.53 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.4447, allocations: 178.9 kB / 1.456 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00494/0.4497, allocations: 2.155 MB / 1.458 GB, free: 11.19 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/0.4497, allocations: 31.91 kB / 1.458 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4497, allocations: 0 / 1.458 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.4497, allocations: 7.922 kB / 1.458 GB, free: 11.15 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006429/0.4561, allocations: 3.341 MB / 1.462 GB, free: 7.742 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.4562, allocations: 4 kB / 1.462 GB, free: 7.738 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.4573, allocations: 231.8 kB / 1.462 GB, free: 7.512 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.4573, allocations: 8 kB / 1.462 GB, free: 7.504 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.09e-05/0.4573, allocations: 39.91 kB / 1.462 GB, free: 7.465 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/0.4574, allocations: 11.98 kB / 1.462 GB, free: 7.453 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4574, allocations: 0 / 1.462 GB, free: 7.453 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006133/0.4635, allocations: 2.784 MB / 1.465 GB, free: 4.633 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006392/0.4641, allocations: 326.3 kB / 1.465 GB, free: 4.312 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.4643, allocations: 31.98 kB / 1.465 GB, free: 4.281 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.4654, allocations: 115.9 kB / 1.465 GB, free: 4.168 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.4656, allocations: 80.86 kB / 1.465 GB, free: 4.086 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.4657, allocations: 51.95 kB / 1.465 GB, free: 4.035 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001343/0.467, allocations: 1.023 MB / 1.466 GB, free: 3.02 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/0.467, allocations: 0 / 1.466 GB, free: 3.02 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001411/0.4684, allocations: 0.5496 MB / 1.467 GB, free: 2.469 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 (113): * Single equations (assignments): 82 * 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.008539/0.477, allocations: 4.06 MB / 1.471 GB, free: 14.53 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003865/0.4808, allocations: 1.434 MB / 1.472 GB, free: 13.09 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4808, allocations: 0 / 1.472 GB, free: 13.09 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.4828, allocations: 0.7676 MB / 1.473 GB, free: 12.32 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/0.486, allocations: 0.736 MB / 1.474 GB, free: 11.61 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/0.5083, allocations: 12.72 MB / 1.486 GB, free: 14.34 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008879/0.5092, allocations: 1.313 MB / 1.487 GB, free: 13 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001219/0.5104, allocations: 373 kB / 1.488 GB, free: 12.63 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009404/0.5113, allocations: 0.7257 MB / 1.488 GB, free: 11.9 MB / 1.186 GB Notification: Performance of SimCode: time 8.31e-07/0.5113, allocations: 0 / 1.488 GB, free: 11.9 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08706/0.5984, allocations: 49.09 MB / 1.536 GB, free: 11.33 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.03, allocations: 10.03 kB / 1.536 GB, free: 11.32 MB / 1.232 GB " [Timeout remaining time 286] (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: 20.485793107014615]