Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.00194/0.00194, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002175/0.002175, allocations: 213.4 kB / 22.25 MB, free: 5.129 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.973 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.207/3.207, allocations: 0.49 GB / 0.7951 GB, free: 33.45 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_X_wSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.002062/0.002062, allocations: 66.77 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4251, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.291/0.7161, allocations: 246.5 MB / 1.567 GB, free: 10.53 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.7313, allocations: 8.567 MB / 1.575 GB, free: 1.941 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.7338, allocations: 95.12 kB / 1.575 GB, free: 1.848 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.7368, allocations: 1.08 MB / 1.576 GB, free: 0.7617 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008408/0.7452, allocations: 3.267 MB / 1.579 GB, free: 13.48 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.00862/0.7538, allocations: 3.61 MB / 1.583 GB, free: 9.859 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.006087/0.7599, allocations: 3.995 MB / 1.587 GB, free: 5.852 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.7618, allocations: 1.104 MB / 1.588 GB, free: 4.715 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004887/0.7667, allocations: 2.316 MB / 1.59 GB, free: 2.391 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002338/0.7691, allocations: 1.44 MB / 1.591 GB, free: 0.9453 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.7693, allocations: 128 kB / 1.592 GB, free: 0.8203 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008172/0.7775, allocations: 4.271 MB / 1.596 GB, free: 12.54 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0009803/0.7785, allocations: 0.5995 MB / 1.596 GB, free: 11.94 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001809/0.7803, allocations: 0.9908 MB / 1.597 GB, free: 10.94 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.7903, allocations: 3.873 MB / 1.601 GB, free: 7.055 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.7903, allocations: 0 / 1.601 GB, free: 7.055 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7903, allocations: 3.938 kB / 1.601 GB, free: 7.051 MB / 1.295 GB Notification: Performance of Transformations before backend: time 3.335e-05/0.7904, allocations: 0 / 1.601 GB, free: 7.051 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.006965/0.7973, allocations: 2.654 MB / 1.604 GB, free: 4.344 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.7974, allocations: 12.03 kB / 1.604 GB, free: 4.332 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002438/0.7976, allocations: 194.4 kB / 1.604 GB, free: 4.133 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007061/0.8047, allocations: 1.091 MB / 1.605 GB, free: 3.039 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.8076, allocations: 1.168 MB / 1.606 GB, free: 1.824 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.796e-05/0.8077, allocations: 102.6 kB / 1.606 GB, free: 1.723 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.8079, allocations: 135.9 kB / 1.606 GB, free: 1.59 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7265/1.534, allocations: 1.97 MB / 1.608 GB, free: 281 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/1.534, allocations: 7.375 kB / 1.608 GB, free: 281 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/1.535, allocations: 56.03 kB / 1.608 GB, free: 281 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/1.535, allocations: 63.42 kB / 1.608 GB, free: 281 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005175/1.54, allocations: 1.873 MB / 1.61 GB, free: 281 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/1.551, allocations: 9.094 MB / 1.619 GB, free: 274.3 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/1.555, allocations: 1.549 MB / 1.621 GB, free: 273.9 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/1.557, allocations: 0.743 MB / 1.621 GB, free: 273.7 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007445/1.557, allocations: 146.7 kB / 1.621 GB, free: 273.7 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00211/1.559, allocations: 0.8663 MB / 1.622 GB, free: 273.5 MB / 1.295 GB Notification: Performance of pre-optimization done (n=104): time 3.426e-06/1.559, allocations: 2.906 kB / 1.622 GB, free: 273.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=104): time 0.008078/1.568, allocations: 2.317 MB / 1.625 GB, free: 272.8 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/1.568, allocations: 69.5 kB / 1.625 GB, free: 272.7 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/1.571, allocations: 1.695 MB / 1.626 GB, free: 272.1 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003178/1.571, allocations: 47.86 kB / 1.626 GB, free: 272.1 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000903/1.572, allocations: 0.8575 MB / 1.627 GB, free: 271.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005657/1.573, allocations: 387.1 kB / 1.628 GB, free: 271.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000408/1.573, allocations: 238.4 kB / 1.628 GB, free: 271.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.573, allocations: 355.3 kB / 1.628 GB, free: 270.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.575, allocations: 0.6613 MB / 1.629 GB, free: 270.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/1.577, allocations: 1.053 MB / 1.63 GB, free: 270 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003643/1.581, allocations: 1.711 MB / 1.631 GB, free: 269.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/1.581, allocations: 7.469 kB / 1.631 GB, free: 269.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004619/1.585, allocations: 1.924 MB / 1.633 GB, free: 268.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/1.586, allocations: 10.34 kB / 1.633 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.586, allocations: 12.03 kB / 1.633 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.631e-05/1.586, allocations: 20.25 kB / 1.633 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/1.587, allocations: 367.7 kB / 1.634 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.82e-05/1.587, allocations: 24.44 kB / 1.634 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.589, allocations: 249.3 kB / 1.634 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/1.589, allocations: 67.31 kB / 1.634 GB, free: 268.3 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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.0008207/1.59, allocations: 398.9 kB / 1.634 GB, free: 268 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/1.59, allocations: 198.1 kB / 1.635 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/1.595, allocations: 1.814 MB / 1.636 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/1.595, allocations: 10.91 kB / 1.636 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.595, allocations: 1.219 kB / 1.636 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/1.595, allocations: 8.531 kB / 1.636 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007223/1.602, allocations: 3.942 MB / 1.64 GB, free: 265.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/1.602, allocations: 6.125 kB / 1.64 GB, free: 265.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/1.603, allocations: 271.2 kB / 1.641 GB, free: 265.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/1.603, allocations: 14.94 kB / 1.641 GB, free: 265.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.709e-05/1.603, allocations: 39.59 kB / 1.641 GB, free: 265.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-05/1.603, allocations: 16.22 kB / 1.641 GB, free: 265.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.603, allocations: 6.5 kB / 1.641 GB, free: 265.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00582/1.609, allocations: 2.896 MB / 1.643 GB, free: 264.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009662/1.61, allocations: 319.2 kB / 1.644 GB, free: 263.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/1.611, allocations: 29.27 kB / 1.644 GB, free: 263.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/1.612, allocations: 125.1 kB / 1.644 GB, free: 263.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/1.612, allocations: 87.66 kB / 1.644 GB, free: 263.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.28e-05/1.612, allocations: 52.59 kB / 1.644 GB, free: 263.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001405/1.613, allocations: 1.159 MB / 1.645 GB, free: 263.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.613, allocations: 0 / 1.645 GB, free: 263.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001498/1.615, allocations: 470.6 kB / 1.646 GB, free: 263 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (107): * Single equations (assignments): 101 * 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.007217/1.622, allocations: 3.912 MB / 1.649 GB, free: 260.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003704/1.626, allocations: 1.579 MB / 1.651 GB, free: 259.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.626, allocations: 0 / 1.651 GB, free: 259.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/1.628, allocations: 0.7727 MB / 1.652 GB, free: 259.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003865/1.631, allocations: 0.9345 MB / 1.653 GB, free: 259.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02544/1.657, allocations: 15.02 MB / 1.667 GB, free: 244.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000663/1.658, allocations: 1.38 MB / 1.669 GB, free: 243 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001741/1.659, allocations: 464.5 kB / 1.669 GB, free: 242.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008725/1.66, allocations: 0.7141 MB / 1.67 GB, free: 241.8 MB / 1.295 GB Notification: Performance of SimCode: time 8.61e-07/1.66, allocations: 4 kB / 1.67 GB, free: 241.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08456/1.745, allocations: 50.36 MB / 1.719 GB, free: 192.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.62/25.37, allocations: 14.16 kB / 1.719 GB, free: 192.1 MB / 1.295 GB " [Timeout remaining time 274] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.55689476500265]