Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001249/0.001249, 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.001377/0.001377, allocations: 216.1 kB / 22.25 MB, free: 5.078 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.323/1.323, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.988/2.988, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_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.001844/0.001844, allocations: 67.02 kB / 1.177 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2944, allocations: 180.2 MB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2607/0.5551, allocations: 246.4 MB / 1.594 GB, free: 1.047 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.01413/0.5692, allocations: 8.57 MB / 1.602 GB, free: 8.461 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.5711, allocations: 103.1 kB / 1.602 GB, free: 8.359 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.5737, allocations: 1.076 MB / 1.603 GB, free: 7.277 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.5813, allocations: 3.271 MB / 1.606 GB, free: 3.992 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.007944/0.5892, allocations: 3.596 MB / 1.61 GB, free: 400 kB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.6462/1.235, allocations: 3.985 MB / 1.614 GB, free: 8.453 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/1.237, allocations: 1.107 MB / 1.615 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004801/1.242, allocations: 2.323 MB / 1.617 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/1.245, allocations: 1.433 MB / 1.618 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.000286/1.245, allocations: 128 kB / 1.619 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006538/1.252, allocations: 4.262 MB / 1.623 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0009088/1.252, allocations: 0.6132 MB / 1.623 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001534/1.254, allocations: 0.9846 MB / 1.624 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007366/1.261, allocations: 3.875 MB / 1.628 GB, free: 8.129 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.261, allocations: 1.594 kB / 1.628 GB, free: 8.129 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.293e-06/1.261, allocations: 0.7812 kB / 1.628 GB, free: 8.129 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.725e-05/1.261, allocations: 0 / 1.628 GB, free: 8.129 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.005991/1.267, allocations: 2.652 MB / 1.631 GB, free: 22.88 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/1.267, allocations: 10.27 kB / 1.631 GB, free: 22.88 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/1.268, allocations: 199.1 kB / 1.631 GB, free: 22.84 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006431/1.274, allocations: 1.096 MB / 1.632 GB, free: 22.71 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/1.276, allocations: 1.166 MB / 1.633 GB, free: 22.3 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/1.276, allocations: 100.2 kB / 1.633 GB, free: 22.3 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/1.277, allocations: 134 kB / 1.633 GB, free: 22.3 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/1.28, allocations: 1.973 MB / 1.635 GB, free: 21.91 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/1.281, allocations: 8.188 kB / 1.635 GB, free: 21.91 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/1.281, allocations: 56.8 kB / 1.635 GB, free: 21.91 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-05/1.281, allocations: 63.48 kB / 1.635 GB, free: 21.91 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004483/1.285, allocations: 1.871 MB / 1.637 GB, free: 21.89 MB / 1.311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/1.297, allocations: 9.115 MB / 1.646 GB, free: 16.13 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/1.3, allocations: 1.542 MB / 1.648 GB, free: 16.1 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/1.302, allocations: 0.7526 MB / 1.648 GB, free: 16.08 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/1.303, allocations: 142.5 kB / 1.648 GB, free: 16.08 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001893/1.305, allocations: 0.8629 MB / 1.649 GB, free: 16.03 MB / 1.311 GB Notification: Performance of pre-optimization done (n=104): time 2.916e-06/1.305, allocations: 1.094 kB / 1.649 GB, free: 16.03 MB / 1.311 GB Notification: Performance of matching and sorting (n=104): time 0.005933/1.311, allocations: 2.324 MB / 1.652 GB, free: 15.89 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/1.311, allocations: 68.34 kB / 1.652 GB, free: 15.82 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/1.313, allocations: 1.695 MB / 1.653 GB, free: 15.59 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/1.313, allocations: 45.83 kB / 1.653 GB, free: 15.56 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/1.314, allocations: 0.8571 MB / 1.654 GB, free: 15.28 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/1.314, allocations: 376.4 kB / 1.655 GB, free: 15.04 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/1.314, allocations: 243.2 kB / 1.655 GB, free: 15.02 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.315, allocations: 355.8 kB / 1.655 GB, free: 14.71 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/1.316, allocations: 0.6621 MB / 1.656 GB, free: 14.71 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/1.318, allocations: 1.054 MB / 1.657 GB, free: 14.29 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/1.321, allocations: 1.715 MB / 1.658 GB, free: 13.9 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/1.321, allocations: 3.375 kB / 1.658 GB, free: 13.9 MB / 1.311 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004061/1.325, allocations: 1.924 MB / 1.66 GB, free: 13.76 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.325, allocations: 10.66 kB / 1.66 GB, free: 13.76 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.325, allocations: 10.66 kB / 1.66 GB, free: 13.76 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/1.325, allocations: 16 kB / 1.66 GB, free: 13.76 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/1.327, allocations: 365.4 kB / 1.661 GB, free: 13.75 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/1.327, allocations: 27.59 kB / 1.661 GB, free: 13.75 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.328, allocations: 253.4 kB / 1.661 GB, free: 13.66 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.329, allocations: 67.53 kB / 1.661 GB, free: 13.65 MB / 1.311 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.0007211/1.329, allocations: 411.2 kB / 1.661 GB, free: 13.53 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/1.33, allocations: 199 kB / 1.662 GB, free: 13.42 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003868/1.333, allocations: 1.816 MB / 1.663 GB, free: 13.32 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/1.333, allocations: 10.44 kB / 1.663 GB, free: 13.32 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.333, allocations: 0.875 kB / 1.663 GB, free: 13.32 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.334, allocations: 5.672 kB / 1.663 GB, free: 13.32 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/1.34, allocations: 3.939 MB / 1.667 GB, free: 12.72 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.34, allocations: 10 kB / 1.667 GB, free: 12.72 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.342, allocations: 265.5 kB / 1.668 GB, free: 12.71 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/1.342, allocations: 11.31 kB / 1.668 GB, free: 12.71 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.259e-05/1.342, allocations: 44.81 kB / 1.668 GB, free: 12.71 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.342, allocations: 20.02 kB / 1.668 GB, free: 12.71 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.342, allocations: 12.44 kB / 1.668 GB, free: 12.71 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005361/1.347, allocations: 2.886 MB / 1.67 GB, free: 12.16 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008623/1.348, allocations: 319 kB / 1.671 GB, free: 12.04 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004282/1.349, allocations: 35.33 kB / 1.671 GB, free: 12.04 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/1.35, allocations: 117.3 kB / 1.671 GB, free: 12.03 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/1.35, allocations: 93.53 kB / 1.671 GB, free: 12.02 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.32e-05/1.35, allocations: 46.34 kB / 1.671 GB, free: 12.02 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001569/1.352, allocations: 1.157 MB / 1.672 GB, free: 11.88 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.1e-07/1.352, allocations: 0 / 1.672 GB, free: 11.88 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001496/1.353, allocations: 469 kB / 1.673 GB, free: 11.84 MB / 1.311 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.007404/1.361, allocations: 3.919 MB / 1.676 GB, free: 10.62 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003579/1.364, allocations: 1.575 MB / 1.678 GB, free: 10.57 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.364, allocations: 3.406 kB / 1.678 GB, free: 10.57 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001703/1.366, allocations: 0.7716 MB / 1.679 GB, free: 10.56 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004163/1.37, allocations: 0.9249 MB / 1.68 GB, free: 10.39 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02896/1.399, allocations: 15.03 MB / 1.694 GB, free: 6.07 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.4, allocations: 1.378 MB / 1.696 GB, free: 5.34 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001904/1.402, allocations: 461 kB / 1.696 GB, free: 5.207 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/1.403, allocations: 0.7175 MB / 1.697 GB, free: 5.199 MB / 1.311 GB Notification: Performance of SimCode: time 6.42e-07/1.403, allocations: 3.188 kB / 1.697 GB, free: 5.199 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09686/1.5, allocations: 50.35 MB / 1.746 GB, free: 8.781 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.78/22.28, allocations: 11.84 kB / 1.746 GB, free: 8.77 MB / 1.342 GB " [Timeout remaining time 278] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 28.581755561986938]