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.001279/0.001279, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001395/0.001395, allocations: 217.2 kB / 22.25 MB, free: 5.105 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.355/1.355, allocations: 230.6 MB / 256 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.939/2.939, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",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.001874/0.001874, allocations: 70.58 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3124, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05344/0.3658, allocations: 50.43 MB / 1.375 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.3808, allocations: 9.751 MB / 1.385 GB, free: 5.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.3824, allocations: 95.12 kB / 1.385 GB, free: 4.977 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.3844, allocations: 0.9086 MB / 1.386 GB, free: 4.062 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004681/0.3891, allocations: 2.078 MB / 1.388 GB, free: 1.977 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00463/0.3937, allocations: 2.041 MB / 1.39 GB, free: 15.93 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00472/0.3984, allocations: 3.819 MB / 1.393 GB, free: 12.1 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.3999, allocations: 0.9902 MB / 1.394 GB, free: 11.07 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003606/0.4035, allocations: 1.98 MB / 1.396 GB, free: 9.086 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.4053, allocations: 1.264 MB / 1.398 GB, free: 7.816 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.4055, allocations: 111.9 kB / 1.398 GB, free: 7.707 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.4077, allocations: 1.053 MB / 1.399 GB, free: 6.652 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004196/0.4082, allocations: 414.2 kB / 1.399 GB, free: 6.246 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007956/0.409, allocations: 0.7073 MB / 1.4 GB, free: 5.535 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.4121, allocations: 2.424 MB / 1.402 GB, free: 3.102 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4121, allocations: 0 / 1.402 GB, free: 3.102 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4122, allocations: 0 / 1.402 GB, free: 3.102 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.4122, allocations: 0 / 1.402 GB, free: 3.102 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.003574/0.4157, allocations: 2.126 MB / 1.404 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4158, allocations: 12.03 kB / 1.404 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/0.416, allocations: 168.7 kB / 1.404 GB, free: 0.7383 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.4196, allocations: 0.666 MB / 1.405 GB, free: 72 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.4217, allocations: 1.076 MB / 1.406 GB, free: 14.95 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-05/0.4217, allocations: 90.02 kB / 1.406 GB, free: 14.86 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.4219, allocations: 108 kB / 1.406 GB, free: 14.76 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/0.4249, allocations: 1.508 MB / 1.408 GB, free: 13.09 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.4249, allocations: 3.938 kB / 1.408 GB, free: 13.09 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.4251, allocations: 44 kB / 1.408 GB, free: 13.05 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.4251, allocations: 32 kB / 1.408 GB, free: 13.02 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003298/0.4284, allocations: 1.233 MB / 1.409 GB, free: 11.78 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008277/0.4367, allocations: 6.584 MB / 1.415 GB, free: 4.961 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.4399, allocations: 1.062 MB / 1.416 GB, free: 3.891 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.4414, allocations: 0.5337 MB / 1.417 GB, free: 3.352 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009747/0.4424, allocations: 282.2 kB / 1.417 GB, free: 3.078 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/0.4442, allocations: 0.6838 MB / 1.418 GB, free: 2.383 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 4.899e-06/0.4442, allocations: 4 kB / 1.418 GB, free: 2.379 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.005089/0.4493, allocations: 1.819 MB / 1.42 GB, free: 0.5547 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.4493, allocations: 60.41 kB / 1.42 GB, free: 492 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.4512, allocations: 1.565 MB / 1.421 GB, free: 14.91 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-05/0.4513, allocations: 45.69 kB / 1.421 GB, free: 14.86 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006686/0.4519, allocations: 0.8116 MB / 1.422 GB, free: 14.04 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/0.4522, allocations: 313.4 kB / 1.422 GB, free: 13.73 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.4526, allocations: 222.8 kB / 1.423 GB, free: 13.51 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4527, allocations: 353.9 kB / 1.423 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.4542, allocations: 0.5217 MB / 1.423 GB, free: 12.63 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.4562, allocations: 1.137 MB / 1.425 GB, free: 11.28 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003307/0.4595, allocations: 1.426 MB / 1.426 GB, free: 9.703 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4595, allocations: 4 kB / 1.426 GB, free: 9.699 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003976/0.4635, allocations: 1.621 MB / 1.428 GB, free: 8.07 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.4635, allocations: 20.05 kB / 1.428 GB, free: 8.051 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.4635, allocations: 15.94 kB / 1.428 GB, free: 8.035 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/0.4635, allocations: 16 kB / 1.428 GB, free: 8.02 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.465, allocations: 339.5 kB / 1.428 GB, free: 7.688 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.752e-05/0.465, allocations: 24.02 kB / 1.428 GB, free: 7.664 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.4664, allocations: 234.8 kB / 1.428 GB, free: 7.434 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.4665, allocations: 67.95 kB / 1.428 GB, free: 7.367 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.0005479/0.467, allocations: 348.4 kB / 1.429 GB, free: 7.02 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.4673, allocations: 178.9 kB / 1.429 GB, free: 6.844 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/0.4722, allocations: 2.19 MB / 1.431 GB, free: 4.645 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/0.4722, allocations: 19.98 kB / 1.431 GB, free: 4.625 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4722, allocations: 0 / 1.431 GB, free: 4.625 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.4722, allocations: 11.91 kB / 1.431 GB, free: 4.613 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006314/0.4785, allocations: 3.236 MB / 1.434 GB, free: 1.301 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.4785, allocations: 4.188 kB / 1.434 GB, free: 1.297 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.4797, allocations: 231.7 kB / 1.434 GB, free: 1.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.4797, allocations: 8 kB / 1.434 GB, free: 1.062 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/0.4798, allocations: 39.95 kB / 1.434 GB, free: 1.023 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.4798, allocations: 8 kB / 1.434 GB, free: 1.016 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4798, allocations: 3.938 kB / 1.434 GB, free: 1.012 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006173/0.486, allocations: 2.834 MB / 1.437 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000716/0.4867, allocations: 326.3 kB / 1.437 GB, free: 13.82 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.4869, allocations: 20 kB / 1.437 GB, free: 13.8 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.488, allocations: 123.9 kB / 1.438 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.4881, allocations: 84.78 kB / 1.438 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.4883, allocations: 55.95 kB / 1.438 GB, free: 13.54 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001436/0.4897, allocations: 1.042 MB / 1.439 GB, free: 12.51 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4897, allocations: 4 kB / 1.439 GB, free: 12.5 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001558/0.4912, allocations: 0.5496 MB / 1.439 GB, free: 11.95 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.008791/0.5, allocations: 4.122 MB / 1.443 GB, free: 7.977 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003783/0.5038, allocations: 1.457 MB / 1.445 GB, free: 6.523 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5038, allocations: 3.938 kB / 1.445 GB, free: 6.52 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.5057, allocations: 0.7754 MB / 1.445 GB, free: 5.738 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/0.5087, allocations: 0.732 MB / 1.446 GB, free: 5.02 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/0.5308, allocations: 12.78 MB / 1.459 GB, free: 7.699 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/0.5315, allocations: 0.7429 MB / 1.459 GB, free: 6.922 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001268/0.5328, allocations: 372.9 kB / 1.46 GB, free: 6.551 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009463/0.5337, allocations: 0.7101 MB / 1.46 GB, free: 5.84 MB / 1.154 GB Notification: Performance of SimCode: time 9.01e-07/0.5337, allocations: 0 / 1.46 GB, free: 5.84 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09605/0.6298, allocations: 52.31 MB / 1.512 GB, free: 2.371 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.75, allocations: 8.781 kB / 1.512 GB, free: 2.367 MB / 1.201 GB " [Timeout remaining time 287] (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: 19.052972832985688]