Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001278/0.001278, 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.001433/0.001433, allocations: 217.6 kB / 23.03 MB, free: 4.922 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.985/2.985, allocations: 0.49 GB / 0.7959 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_12_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.00192/0.00192, allocations: 63.75 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3237, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0548/0.3785, allocations: 50.39 MB / 1.376 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.394, allocations: 9.725 MB / 1.385 GB, free: 5.176 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/0.3962, allocations: 95.12 kB / 1.385 GB, free: 5.082 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.3986, allocations: 0.9086 MB / 1.386 GB, free: 4.168 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005523/0.4042, allocations: 2.076 MB / 1.388 GB, free: 2.082 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004808/0.409, allocations: 2.034 MB / 1.39 GB, free: 48 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00518/0.4141, allocations: 3.831 MB / 1.394 GB, free: 12.2 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/0.4159, allocations: 0.9864 MB / 1.395 GB, free: 11.18 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/0.4201, allocations: 1.988 MB / 1.397 GB, free: 9.184 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.4224, allocations: 1.26 MB / 1.398 GB, free: 7.918 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002814/0.4227, allocations: 104 kB / 1.398 GB, free: 7.816 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.4254, allocations: 1.052 MB / 1.399 GB, free: 6.762 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004616/0.4259, allocations: 418.2 kB / 1.4 GB, free: 6.352 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.4269, allocations: 0.6995 MB / 1.4 GB, free: 5.648 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.431, allocations: 2.424 MB / 1.403 GB, free: 3.215 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.431, allocations: 8 kB / 1.403 GB, free: 3.207 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.753e-06/0.431, allocations: 0 / 1.403 GB, free: 3.207 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.479e-05/0.431, allocations: 0 / 1.403 GB, free: 3.207 MB / 1.092 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.003988/0.435, allocations: 2.13 MB / 1.405 GB, free: 1.027 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.856e-05/0.4351, allocations: 12.03 kB / 1.405 GB, free: 1.016 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.52e-05/0.4352, allocations: 30.14 kB / 1.405 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.4354, allocations: 160.8 kB / 1.405 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003752/0.4392, allocations: 0.6621 MB / 1.406 GB, free: 156 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.4418, allocations: 1.083 MB / 1.407 GB, free: 15.03 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.918e-05/0.4418, allocations: 90.06 kB / 1.407 GB, free: 14.94 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.442, allocations: 108 kB / 1.407 GB, free: 14.83 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/0.4452, allocations: 1.5 MB / 1.408 GB, free: 13.18 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.4452, allocations: 3.938 kB / 1.408 GB, free: 13.17 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.4453, allocations: 47.98 kB / 1.408 GB, free: 13.12 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.4454, allocations: 32 kB / 1.409 GB, free: 13.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/0.4488, allocations: 1.237 MB / 1.41 GB, free: 11.86 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008696/0.4575, allocations: 6.588 MB / 1.416 GB, free: 5.035 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/0.4608, allocations: 1.055 MB / 1.417 GB, free: 3.977 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.4623, allocations: 0.5258 MB / 1.418 GB, free: 3.441 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009476/0.4633, allocations: 290.2 kB / 1.418 GB, free: 3.16 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00179/0.4651, allocations: 0.6879 MB / 1.419 GB, free: 2.461 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 3.086e-06/0.4651, allocations: 4 kB / 1.419 GB, free: 2.457 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.00528/0.4703, allocations: 1.815 MB / 1.42 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.4704, allocations: 68.39 kB / 1.42 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.4724, allocations: 1.545 MB / 1.422 GB, free: 15 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.892e-05/0.4725, allocations: 45.7 kB / 1.422 GB, free: 14.95 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000693/0.4732, allocations: 0.8117 MB / 1.423 GB, free: 14.14 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.4736, allocations: 313.4 kB / 1.423 GB, free: 13.83 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/0.4739, allocations: 226.8 kB / 1.423 GB, free: 13.6 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4741, allocations: 341.9 kB / 1.424 GB, free: 13.26 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.4757, allocations: 0.5295 MB / 1.424 GB, free: 12.73 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.4778, allocations: 1.137 MB / 1.425 GB, free: 11.38 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/0.4812, allocations: 1.422 MB / 1.427 GB, free: 9.805 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.4812, allocations: 7.984 kB / 1.427 GB, free: 9.797 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004298/0.4855, allocations: 1.62 MB / 1.428 GB, free: 8.164 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.4855, allocations: 12.94 kB / 1.428 GB, free: 8.152 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.4856, allocations: 8 kB / 1.428 GB, free: 8.145 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.4856, allocations: 23.94 kB / 1.428 GB, free: 8.121 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.487, allocations: 351.5 kB / 1.429 GB, free: 7.777 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.018e-05/0.487, allocations: 31.84 kB / 1.429 GB, free: 7.746 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.4885, allocations: 226.9 kB / 1.429 GB, free: 7.523 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.4886, allocations: 63.97 kB / 1.429 GB, free: 7.461 MB / 1.123 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.0006208/0.4893, allocations: 355.3 kB / 1.429 GB, free: 7.105 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.4896, allocations: 174.9 kB / 1.429 GB, free: 6.934 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/0.4946, allocations: 2.19 MB / 1.432 GB, free: 4.734 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/0.4946, allocations: 19.98 kB / 1.432 GB, free: 4.715 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.4947, allocations: 3.938 kB / 1.432 GB, free: 4.711 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.4947, allocations: 3.984 kB / 1.432 GB, free: 4.707 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006599/0.5013, allocations: 3.24 MB / 1.435 GB, free: 1.391 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.5013, allocations: 0 / 1.435 GB, free: 1.391 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.5025, allocations: 239.8 kB / 1.435 GB, free: 1.156 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.5025, allocations: 4 kB / 1.435 GB, free: 1.152 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.91e-05/0.5026, allocations: 47.89 kB / 1.435 GB, free: 1.105 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.5026, allocations: 4 kB / 1.435 GB, free: 1.102 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5026, allocations: 4 kB / 1.435 GB, free: 1.098 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006373/0.509, allocations: 2.83 MB / 1.438 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/0.5098, allocations: 326.3 kB / 1.438 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.51, allocations: 24 kB / 1.438 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.5111, allocations: 123.9 kB / 1.438 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.5112, allocations: 84.78 kB / 1.438 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.5113, allocations: 47.97 kB / 1.438 GB, free: 13.64 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00146/0.5128, allocations: 1.046 MB / 1.439 GB, free: 12.6 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5128, allocations: 0 / 1.439 GB, free: 12.6 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001574/0.5144, allocations: 0.5574 MB / 1.44 GB, free: 12.04 MB / 1.139 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.009294/0.5237, allocations: 4.123 MB / 1.444 GB, free: 8.062 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003978/0.5277, allocations: 1.45 MB / 1.445 GB, free: 6.617 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5277, allocations: 0 / 1.445 GB, free: 6.617 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.5298, allocations: 0.791 MB / 1.446 GB, free: 5.824 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/0.5331, allocations: 0.7378 MB / 1.447 GB, free: 5.102 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/0.5575, allocations: 12.77 MB / 1.459 GB, free: 7.789 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/0.5582, allocations: 0.7313 MB / 1.46 GB, free: 7.023 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00128/0.5595, allocations: 372.8 kB / 1.46 GB, free: 6.652 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.5605, allocations: 0.714 MB / 1.461 GB, free: 5.938 MB / 1.154 GB Notification: Performance of SimCode: time 5.61e-07/0.5605, allocations: 0 / 1.461 GB, free: 5.938 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09682/0.6574, allocations: 51.77 MB / 1.512 GB, free: 3.043 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/15.9, allocations: 4.062 kB / 1.512 GB, free: 3.039 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.628579890006222]