Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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.001561/0.001561, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002182/0.002182, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 8 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 3.291/3.291, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] 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,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.002057/0.002057, allocations: 70.12 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3404, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2872/0.6276, allocations: 246.4 MB / 1.567 GB, free: 10.56 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01539/0.643, allocations: 8.574 MB / 1.575 GB, free: 1.965 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.6453, allocations: 95.12 kB / 1.575 GB, free: 1.871 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.6486, allocations: 1.08 MB / 1.576 GB, free: 0.7852 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009086/0.6577, allocations: 3.27 MB / 1.579 GB, free: 13.5 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.009752/0.6674, allocations: 3.613 MB / 1.583 GB, free: 9.883 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.006797/0.6742, allocations: 4.058 MB / 1.587 GB, free: 5.809 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00313/0.6773, allocations: 1.145 MB / 1.588 GB, free: 4.629 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006796/0.6841, allocations: 2.344 MB / 1.59 GB, free: 2.277 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003278/0.6874, allocations: 1.483 MB / 1.592 GB, free: 0.7891 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0006904/0.6881, allocations: 136 kB / 1.592 GB, free: 0.6562 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009966/0.6981, allocations: 4.271 MB / 1.596 GB, free: 12.38 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.6993, allocations: 0.619 MB / 1.597 GB, free: 11.75 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.002731/0.7021, allocations: 1.018 MB / 1.598 GB, free: 10.73 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.7134, allocations: 3.932 MB / 1.601 GB, free: 6.785 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.7134, allocations: 3.938 kB / 1.601 GB, free: 6.781 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.226e-06/0.7134, allocations: 0 / 1.601 GB, free: 6.781 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001582/0.7136, allocations: 0 / 1.601 GB, free: 6.781 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.008876/0.7224, allocations: 2.682 MB / 1.604 GB, free: 4.047 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.7225, allocations: 8.031 kB / 1.604 GB, free: 4.039 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000394/0.7229, allocations: 194.5 kB / 1.604 GB, free: 3.84 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008776/0.7317, allocations: 1.333 MB / 1.606 GB, free: 2.504 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004105/0.7358, allocations: 1.2 MB / 1.607 GB, free: 1.262 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.7359, allocations: 98.59 kB / 1.607 GB, free: 1.164 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005459/0.7365, allocations: 136 kB / 1.607 GB, free: 1.031 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6974/1.434, allocations: 2.063 MB / 1.609 GB, free: 280.8 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/1.434, allocations: 2.469 kB / 1.609 GB, free: 280.8 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/1.434, allocations: 59.36 kB / 1.609 GB, free: 280.8 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/1.434, allocations: 62.97 kB / 1.609 GB, free: 280.8 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006197/1.44, allocations: 2.178 MB / 1.611 GB, free: 280.6 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/1.452, allocations: 8.312 MB / 1.619 GB, free: 275 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004879/1.457, allocations: 1.809 MB / 1.621 GB, free: 274.5 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/1.46, allocations: 0.9272 MB / 1.622 GB, free: 274.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/1.461, allocations: 209.5 kB / 1.622 GB, free: 274.2 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003478/1.464, allocations: 1.058 MB / 1.623 GB, free: 274 MB / 1.295 GB Notification: Performance of pre-optimization done (n=119): time 4.379e-06/1.464, allocations: 0.5 kB / 1.623 GB, free: 274 MB / 1.295 GB Notification: Performance of matching and sorting (n=119): time 0.01006/1.475, allocations: 2.887 MB / 1.626 GB, free: 273.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.475, allocations: 65.41 kB / 1.626 GB, free: 273.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/1.477, allocations: 1.655 MB / 1.628 GB, free: 272.6 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002406/1.478, allocations: 48.52 kB / 1.628 GB, free: 272.5 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006618/1.478, allocations: 0.8188 MB / 1.629 GB, free: 271.9 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000465/1.479, allocations: 431.1 kB / 1.629 GB, free: 271.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004417/1.479, allocations: 241.9 kB / 1.629 GB, free: 271.5 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/1.479, allocations: 354 kB / 1.63 GB, free: 271.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/1.482, allocations: 0.8238 MB / 1.63 GB, free: 271 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002715/1.484, allocations: 1.142 MB / 1.631 GB, free: 270.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/1.489, allocations: 1.927 MB / 1.633 GB, free: 269.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.489, allocations: 2.5 kB / 1.633 GB, free: 269.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006484/1.496, allocations: 2.196 MB / 1.635 GB, free: 268.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/1.496, allocations: 11.88 kB / 1.635 GB, free: 268.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.496, allocations: 7.938 kB / 1.635 GB, free: 268.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-05/1.496, allocations: 18.16 kB / 1.635 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/1.498, allocations: 413.6 kB / 1.636 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.807e-05/1.498, allocations: 17.91 kB / 1.636 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/1.5, allocations: 284 kB / 1.636 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/1.5, allocations: 63 kB / 1.636 GB, free: 268.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0007465/1.501, allocations: 398.6 kB / 1.637 GB, free: 268.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/1.501, allocations: 206.7 kB / 1.637 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005329/1.507, allocations: 2.196 MB / 1.639 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/1.507, allocations: 11.56 kB / 1.639 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.507, allocations: 1.469 kB / 1.639 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/1.507, allocations: 11.5 kB / 1.639 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008634/1.515, allocations: 4.464 MB / 1.643 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.515, allocations: 10.94 kB / 1.643 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.517, allocations: 343.7 kB / 1.644 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/1.517, allocations: 11.84 kB / 1.644 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/1.517, allocations: 39.78 kB / 1.644 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.517, allocations: 11.91 kB / 1.644 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.517, allocations: 15.75 kB / 1.644 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007325/1.525, allocations: 3.476 MB / 1.647 GB, free: 263 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.526, allocations: 340.3 kB / 1.647 GB, free: 262.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/1.526, allocations: 31.81 kB / 1.648 GB, free: 262.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/1.527, allocations: 167 kB / 1.648 GB, free: 262.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/1.528, allocations: 110 kB / 1.648 GB, free: 262.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-05/1.528, allocations: 51.69 kB / 1.648 GB, free: 262.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001331/1.529, allocations: 1.13 MB / 1.649 GB, free: 262.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.31e-07/1.529, allocations: 0 / 1.649 GB, free: 262.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001319/1.53, allocations: 496.4 kB / 1.649 GB, free: 262 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.008703/1.539, allocations: 4.508 MB / 1.654 GB, free: 259.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004662/1.544, allocations: 1.903 MB / 1.656 GB, free: 257.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/1.544, allocations: 4 kB / 1.656 GB, free: 257.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/1.546, allocations: 0.9673 MB / 1.657 GB, free: 256.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.55, allocations: 0.9541 MB / 1.658 GB, free: 255.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/1.577, allocations: 16.09 MB / 1.673 GB, free: 238.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/1.578, allocations: 1.384 MB / 1.675 GB, free: 237.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001992/1.58, allocations: 486 kB / 1.675 GB, free: 236.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009707/1.581, allocations: 0.7375 MB / 1.676 GB, free: 236.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.042e-06/1.581, allocations: 0 / 1.676 GB, free: 236.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09536/1.676, allocations: 52.16 MB / 1.727 GB, free: 184.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.52/25.2, allocations: 13.58 kB / 1.727 GB, free: 184.5 MB / 1.295 GB " [Timeout remaining time 275] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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: 32.32549284002744]