Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.001368/0.001368, allocations: 113.5 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.001655/0.001655, allocations: 219.2 kB / 23.04 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.7959 GB, free: 33.51 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_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.002137/0.002137, allocations: 66.59 kB / 1.155 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3862, allocations: 176.1 MB / 1.327 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2858/0.6721, allocations: 246.5 MB / 1.567 GB, free: 10.57 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.6868, allocations: 8.576 MB / 1.576 GB, free: 1.98 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.6895, allocations: 95.12 kB / 1.576 GB, free: 1.887 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003215/0.6927, allocations: 1.072 MB / 1.577 GB, free: 0.8086 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.00978/0.7025, allocations: 3.275 MB / 1.58 GB, free: 13.52 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.7127, allocations: 3.609 MB / 1.584 GB, free: 9.906 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.006825/0.7195, allocations: 3.968 MB / 1.587 GB, free: 5.922 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.7223, allocations: 1.108 MB / 1.589 GB, free: 4.781 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00609/0.7283, allocations: 2.324 MB / 1.591 GB, free: 2.449 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003035/0.7314, allocations: 1.44 MB / 1.592 GB, free: 1.004 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0006104/0.732, allocations: 128 kB / 1.592 GB, free: 0.8789 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008885/0.7409, allocations: 4.267 MB / 1.597 GB, free: 12.6 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.7421, allocations: 0.615 MB / 1.597 GB, free: 11.98 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00226/0.7443, allocations: 0.9948 MB / 1.598 GB, free: 10.98 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.009441/0.7538, allocations: 3.885 MB / 1.602 GB, free: 7.086 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7538, allocations: 0 / 1.602 GB, free: 7.086 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7538, allocations: 0 / 1.602 GB, free: 7.086 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001099/0.7539, allocations: 3.938 kB / 1.602 GB, free: 7.082 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.007846/0.7617, allocations: 2.658 MB / 1.604 GB, free: 4.371 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.7618, allocations: 8.031 kB / 1.604 GB, free: 4.363 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.074e-05/0.7618, allocations: 34.56 kB / 1.605 GB, free: 4.328 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003802/0.7622, allocations: 190.4 kB / 1.605 GB, free: 4.133 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007966/0.7702, allocations: 1.146 MB / 1.606 GB, free: 2.984 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003457/0.7736, allocations: 1.184 MB / 1.607 GB, free: 1.754 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.7738, allocations: 94.56 kB / 1.607 GB, free: 1.66 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004617/0.7742, allocations: 135.9 kB / 1.607 GB, free: 1.527 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7534/1.528, allocations: 1.948 MB / 1.609 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/1.528, allocations: 5.25 kB / 1.609 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/1.528, allocations: 55.34 kB / 1.609 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/1.528, allocations: 66.06 kB / 1.609 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005851/1.534, allocations: 1.889 MB / 1.611 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/1.545, allocations: 8.594 MB / 1.619 GB, free: 274.6 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/1.549, allocations: 1.457 MB / 1.621 GB, free: 274.2 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/1.551, allocations: 0.7469 MB / 1.622 GB, free: 274 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/1.552, allocations: 209.2 kB / 1.622 GB, free: 274 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/1.554, allocations: 0.8783 MB / 1.623 GB, free: 273.8 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 3.056e-06/1.554, allocations: 0.75 kB / 1.623 GB, free: 273.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=106): time 0.008046/1.562, allocations: 2.387 MB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/1.562, allocations: 66.69 kB / 1.625 GB, free: 273 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003393/1.566, allocations: 1.743 MB / 1.627 GB, free: 272.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002439/1.566, allocations: 50.39 kB / 1.627 GB, free: 272.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006501/1.567, allocations: 0.8436 MB / 1.628 GB, free: 271.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/1.567, allocations: 383.8 kB / 1.628 GB, free: 271.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004305/1.567, allocations: 237.7 kB / 1.628 GB, free: 271.4 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/1.568, allocations: 358.3 kB / 1.629 GB, free: 271 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/1.57, allocations: 0.6703 MB / 1.629 GB, free: 270.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002165/1.572, allocations: 1.056 MB / 1.63 GB, free: 270.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/1.576, allocations: 1.713 MB / 1.632 GB, free: 269.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/1.576, allocations: 3.219 kB / 1.632 GB, free: 269.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005519/1.581, allocations: 1.939 MB / 1.634 GB, free: 268.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/1.581, allocations: 10.06 kB / 1.634 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/1.581, allocations: 10.61 kB / 1.634 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.248e-05/1.581, allocations: 16.81 kB / 1.634 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.583, allocations: 362.9 kB / 1.634 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-05/1.584, allocations: 26.52 kB / 1.634 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/1.586, allocations: 248.4 kB / 1.634 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/1.586, allocations: 69.14 kB / 1.635 GB, free: 268.6 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.001128/1.587, allocations: 403.8 kB / 1.635 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006329/1.588, allocations: 203.6 kB / 1.635 GB, free: 268.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005588/1.594, allocations: 1.849 MB / 1.637 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/1.594, allocations: 11.03 kB / 1.637 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.594, allocations: 1.672 kB / 1.637 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/1.594, allocations: 5.016 kB / 1.637 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.605, allocations: 3.991 MB / 1.641 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.095e-05/1.605, allocations: 10.38 kB / 1.641 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.607, allocations: 274.5 kB / 1.641 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.73e-05/1.607, allocations: 10 kB / 1.641 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/1.607, allocations: 41.34 kB / 1.641 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.276e-05/1.607, allocations: 14.66 kB / 1.641 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/1.607, allocations: 7.5 kB / 1.641 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007164/1.614, allocations: 2.952 MB / 1.644 GB, free: 264.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.615, allocations: 327.7 kB / 1.644 GB, free: 264.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006119/1.616, allocations: 33.36 kB / 1.644 GB, free: 264.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/1.618, allocations: 121.7 kB / 1.645 GB, free: 264 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.618, allocations: 99.95 kB / 1.645 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.618, allocations: 49.28 kB / 1.645 GB, free: 263.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002232/1.62, allocations: 1.191 MB / 1.646 GB, free: 263.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.62, allocations: 0 / 1.646 GB, free: 263.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002114/1.622, allocations: 460.4 kB / 1.646 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: 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 (109): * Single equations (assignments): 103 * 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.008357/1.631, allocations: 3.982 MB / 1.65 GB, free: 260.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004231/1.635, allocations: 1.592 MB / 1.652 GB, free: 260.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.635, allocations: 0 / 1.652 GB, free: 260.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/1.637, allocations: 0.8 MB / 1.652 GB, free: 259.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004909/1.642, allocations: 0.9815 MB / 1.653 GB, free: 259.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02603/1.668, allocations: 14.78 MB / 1.668 GB, free: 244.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/1.669, allocations: 1.38 MB / 1.669 GB, free: 243 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002072/1.671, allocations: 463.5 kB / 1.67 GB, free: 242.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.672, allocations: 0.7218 MB / 1.67 GB, free: 241.8 MB / 1.295 GB Notification: Performance of SimCode: time 9.62e-07/1.672, allocations: 0 / 1.67 GB, free: 241.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08693/1.759, allocations: 51.94 MB / 1.721 GB, free: 190.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.22/25.98, allocations: 14.06 kB / 1.721 GB, free: 190.5 MB / 1.295 GB " [Timeout remaining time 274] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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: 33.39103221899131]