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.001328/0.001328, allocations: 110 kB / 16.46 MB, free: 6.453 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.001434/0.001434, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.412/1.412, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.098/3.098, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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,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.002606/0.002606, allocations: 68.91 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3588, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2916/0.6504, allocations: 245.7 MB / 1.561 GB, free: 12.73 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.666, allocations: 8.537 MB / 1.569 GB, free: 4.172 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.6684, allocations: 99.06 kB / 1.569 GB, free: 4.074 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.6714, allocations: 1.072 MB / 1.57 GB, free: 2.996 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008628/0.6801, allocations: 3.236 MB / 1.573 GB, free: 15.75 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.009007/0.6891, allocations: 3.502 MB / 1.577 GB, free: 12.24 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.006157/0.6952, allocations: 4.018 MB / 1.581 GB, free: 8.203 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002603/0.6978, allocations: 1.207 MB / 1.582 GB, free: 6.965 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005458/0.7033, allocations: 2.324 MB / 1.584 GB, free: 4.633 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002967/0.7063, allocations: 1.475 MB / 1.586 GB, free: 3.152 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0005941/0.7069, allocations: 139.9 kB / 1.586 GB, free: 3.016 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009101/0.716, allocations: 4.189 MB / 1.59 GB, free: 14.82 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.7171, allocations: 0.6112 MB / 1.59 GB, free: 14.2 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.002528/0.7197, allocations: 1.01 MB / 1.591 GB, free: 13.19 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.7301, allocations: 3.932 MB / 1.595 GB, free: 9.242 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.7301, allocations: 8 kB / 1.595 GB, free: 9.234 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7301, allocations: 0 / 1.595 GB, free: 9.234 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000118/0.7302, allocations: 0 / 1.595 GB, free: 9.234 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.00857/0.7388, allocations: 2.757 MB / 1.598 GB, free: 6.406 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.7388, allocations: 11.98 kB / 1.598 GB, free: 6.395 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004268/0.7393, allocations: 194.5 kB / 1.598 GB, free: 6.195 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009385/0.7486, allocations: 1.337 MB / 1.6 GB, free: 4.855 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/0.7519, allocations: 1.295 MB / 1.601 GB, free: 3.508 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.752, allocations: 110.6 kB / 1.601 GB, free: 3.398 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004338/0.7525, allocations: 128 kB / 1.601 GB, free: 3.273 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005807/0.7583, allocations: 2.073 MB / 1.603 GB, free: 1.102 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.7583, allocations: 7.938 kB / 1.603 GB, free: 1.094 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.7585, allocations: 52 kB / 1.603 GB, free: 1.043 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.214e-05/0.7586, allocations: 66.45 kB / 1.603 GB, free: 0.9766 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6962/1.455, allocations: 2.17 MB / 1.605 GB, free: 282.2 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/1.466, allocations: 8.393 MB / 1.613 GB, free: 276.9 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005062/1.471, allocations: 1.809 MB / 1.615 GB, free: 276.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/1.474, allocations: 0.9238 MB / 1.616 GB, free: 276.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/1.475, allocations: 0.9507 MB / 1.617 GB, free: 275.2 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003087/1.478, allocations: 1.051 MB / 1.618 GB, free: 274.9 MB / 1.295 GB Notification: Performance of pre-optimization done (n=119): time 3.586e-06/1.478, allocations: 0 / 1.618 GB, free: 274.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=119): time 0.01075/1.489, allocations: 2.886 MB / 1.621 GB, free: 274.1 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/1.489, allocations: 72.69 kB / 1.621 GB, free: 274.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/1.492, allocations: 1.653 MB / 1.623 GB, free: 273.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002487/1.492, allocations: 49.75 kB / 1.623 GB, free: 273.5 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006205/1.493, allocations: 0.8147 MB / 1.623 GB, free: 272.9 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000444/1.493, allocations: 431.3 kB / 1.624 GB, free: 272.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004589/1.494, allocations: 245.4 kB / 1.624 GB, free: 272.5 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/1.494, allocations: 353.5 kB / 1.624 GB, free: 272.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/1.496, allocations: 0.8261 MB / 1.625 GB, free: 272 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/1.499, allocations: 1.141 MB / 1.626 GB, free: 271.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00512/1.504, allocations: 1.926 MB / 1.628 GB, free: 270.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/1.504, allocations: 4.578 kB / 1.628 GB, free: 270.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006363/1.511, allocations: 2.187 MB / 1.63 GB, free: 269.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/1.511, allocations: 12.88 kB / 1.63 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.511, allocations: 10.94 kB / 1.63 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/1.511, allocations: 14.5 kB / 1.63 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/1.513, allocations: 419.9 kB / 1.631 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.284e-05/1.513, allocations: 19.34 kB / 1.631 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/1.515, allocations: 289.3 kB / 1.631 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/1.515, allocations: 59.77 kB / 1.631 GB, free: 269.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.000771/1.516, allocations: 405.8 kB / 1.632 GB, free: 269.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/1.516, allocations: 200 kB / 1.632 GB, free: 269.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005673/1.522, allocations: 2.158 MB / 1.634 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.522, allocations: 15.19 kB / 1.634 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.522, allocations: 5.281 kB / 1.634 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/1.522, allocations: 6.281 kB / 1.634 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008846/1.531, allocations: 4.482 MB / 1.638 GB, free: 266.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.531, allocations: 5.688 kB / 1.638 GB, free: 266.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/1.533, allocations: 328.3 kB / 1.639 GB, free: 266.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/1.533, allocations: 11.81 kB / 1.639 GB, free: 266.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/1.533, allocations: 41.5 kB / 1.639 GB, free: 266.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.437e-05/1.533, allocations: 19.83 kB / 1.639 GB, free: 266.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.533, allocations: 10.62 kB / 1.639 GB, free: 266.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007415/1.54, allocations: 3.451 MB / 1.642 GB, free: 264.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000795/1.541, allocations: 420.4 kB / 1.642 GB, free: 264 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/1.541, allocations: 31.89 kB / 1.642 GB, free: 264 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/1.543, allocations: 165.3 kB / 1.643 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.543, allocations: 107.9 kB / 1.643 GB, free: 263.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/1.543, allocations: 51.53 kB / 1.643 GB, free: 263.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001269/1.545, allocations: 1.128 MB / 1.644 GB, free: 263.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.545, allocations: 5.828 kB / 1.644 GB, free: 263.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0014/1.546, allocations: 496.2 kB / 1.644 GB, free: 263.2 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 (119): * Single equations (assignments): 113 * 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.009223/1.555, allocations: 4.471 MB / 1.649 GB, free: 260.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005079/1.56, allocations: 1.898 MB / 1.651 GB, free: 258.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/1.56, allocations: 4 kB / 1.651 GB, free: 258.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002573/1.563, allocations: 0.9634 MB / 1.651 GB, free: 258 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/1.568, allocations: 0.9567 MB / 1.652 GB, free: 257 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02981/1.597, allocations: 16.09 MB / 1.668 GB, free: 240.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/1.598, allocations: 1.38 MB / 1.669 GB, free: 239 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001813/1.6, allocations: 485.1 kB / 1.67 GB, free: 238.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009637/1.601, allocations: 0.7218 MB / 1.671 GB, free: 237.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.342e-06/1.601, allocations: 0 / 1.671 GB, free: 237.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08231/1.683, allocations: 51.06 MB / 1.72 GB, free: 187.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/13.62, allocations: 10.33 kB / 1.721 GB, free: 187.3 MB / 1.295 GB " [Timeout remaining time 286] (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: 20.321993917925283]