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.001415/0.001415, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001579/0.001579, allocations: 216.7 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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.899/2.899, allocations: 0.5003 GB / 0.8061 GB, free: 26.71 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001804/0.001804, allocations: 65.2 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2891, allocations: 179 MB / 1.345 GB, free: 400 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2622/0.5513, allocations: 246.5 MB / 1.586 GB, free: 9.023 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.5656, allocations: 8.557 MB / 1.594 GB, free: 460 kB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.5677, allocations: 95.12 kB / 1.594 GB, free: 364 kB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.5703, allocations: 1.072 MB / 1.596 GB, free: 15.28 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.007429/0.5777, allocations: 3.271 MB / 1.599 GB, free: 11.99 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.007825/0.5855, allocations: 3.608 MB / 1.602 GB, free: 8.379 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.005169/0.5907, allocations: 3.987 MB / 1.606 GB, free: 4.379 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.5924, allocations: 1.108 MB / 1.607 GB, free: 3.238 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004252/0.5966, allocations: 2.324 MB / 1.61 GB, free: 0.9062 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6413/1.238, allocations: 1.427 MB / 1.611 GB, free: 10.74 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004795/1.238, allocations: 127.1 kB / 1.611 GB, free: 10.74 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007881/1.246, allocations: 4.264 MB / 1.615 GB, free: 10.74 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0007879/1.247, allocations: 0.608 MB / 1.616 GB, free: 10.74 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001447/1.249, allocations: 0.991 MB / 1.617 GB, free: 10.74 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.008573/1.257, allocations: 3.868 MB / 1.621 GB, free: 10.5 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.257, allocations: 1.594 kB / 1.621 GB, free: 10.5 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.763e-06/1.257, allocations: 0.5625 kB / 1.621 GB, free: 10.5 MB / 1.295 GB Notification: Performance of Transformations before backend: time 3.592e-05/1.257, allocations: 0 / 1.621 GB, free: 10.5 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.006683/1.264, allocations: 2.646 MB / 1.623 GB, free: 9.258 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.264, allocations: 9.531 kB / 1.623 GB, free: 9.258 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.137e-05/1.264, allocations: 35.47 kB / 1.623 GB, free: 9.254 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/1.264, allocations: 200.2 kB / 1.623 GB, free: 9.211 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006859/1.271, allocations: 1.098 MB / 1.624 GB, free: 9.09 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002499/1.273, allocations: 1.168 MB / 1.626 GB, free: 8.676 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.846e-05/1.274, allocations: 98.05 kB / 1.626 GB, free: 8.672 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/1.274, allocations: 134.4 kB / 1.626 GB, free: 8.668 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003801/1.278, allocations: 1.974 MB / 1.628 GB, free: 8.281 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/1.278, allocations: 5.344 kB / 1.628 GB, free: 8.281 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/1.278, allocations: 59.41 kB / 1.628 GB, free: 8.281 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-05/1.278, allocations: 64.42 kB / 1.628 GB, free: 8.277 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0043/1.282, allocations: 1.873 MB / 1.63 GB, free: 8.262 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/1.293, allocations: 9.107 MB / 1.639 GB, free: 18.52 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/1.297, allocations: 1.54 MB / 1.64 GB, free: 18.49 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/1.298, allocations: 0.7547 MB / 1.641 GB, free: 18.47 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/1.299, allocations: 144.2 kB / 1.641 GB, free: 18.47 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00193/1.301, allocations: 0.8671 MB / 1.642 GB, free: 18.42 MB / 1.311 GB Notification: Performance of pre-optimization done (n=104): time 2.755e-06/1.301, allocations: 2.172 kB / 1.642 GB, free: 18.42 MB / 1.311 GB Notification: Performance of matching and sorting (n=104): time 0.006042/1.307, allocations: 2.32 MB / 1.644 GB, free: 18.28 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/1.307, allocations: 63.5 kB / 1.644 GB, free: 18.21 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/1.309, allocations: 1.694 MB / 1.646 GB, free: 17.98 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/1.309, allocations: 49.8 kB / 1.646 GB, free: 17.95 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/1.31, allocations: 0.8503 MB / 1.647 GB, free: 17.68 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/1.31, allocations: 384.9 kB / 1.647 GB, free: 17.43 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/1.31, allocations: 242.8 kB / 1.647 GB, free: 17.41 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.31, allocations: 353.6 kB / 1.648 GB, free: 17.1 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/1.312, allocations: 0.6686 MB / 1.648 GB, free: 17.1 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/1.314, allocations: 1.054 MB / 1.649 GB, free: 16.68 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/1.317, allocations: 1.708 MB / 1.651 GB, free: 16.29 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.317, allocations: 7.344 kB / 1.651 GB, free: 16.29 MB / 1.311 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004073/1.321, allocations: 1.922 MB / 1.653 GB, free: 16.14 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.321, allocations: 14.97 kB / 1.653 GB, free: 16.14 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.321, allocations: 11 kB / 1.653 GB, free: 16.14 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/1.321, allocations: 18.91 kB / 1.653 GB, free: 16.14 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/1.323, allocations: 361.8 kB / 1.653 GB, free: 16.14 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/1.323, allocations: 26.23 kB / 1.653 GB, free: 16.14 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.324, allocations: 255.3 kB / 1.653 GB, free: 16.05 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/1.325, allocations: 63.81 kB / 1.654 GB, free: 16.05 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.000638/1.325, allocations: 400.3 kB / 1.654 GB, free: 15.93 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/1.325, allocations: 197.9 kB / 1.654 GB, free: 15.82 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/1.329, allocations: 1.818 MB / 1.656 GB, free: 15.74 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.329, allocations: 16.12 kB / 1.656 GB, free: 15.73 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.329, allocations: 0 / 1.656 GB, free: 15.73 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/1.329, allocations: 6.703 kB / 1.656 GB, free: 15.73 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006484/1.336, allocations: 3.93 MB / 1.66 GB, free: 15.14 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.336, allocations: 11.98 kB / 1.66 GB, free: 15.13 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/1.337, allocations: 267.4 kB / 1.66 GB, free: 15.13 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.337, allocations: 14.17 kB / 1.66 GB, free: 15.13 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.669e-05/1.337, allocations: 37.86 kB / 1.66 GB, free: 15.13 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/1.337, allocations: 14.25 kB / 1.66 GB, free: 15.13 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.337, allocations: 13.7 kB / 1.66 GB, free: 15.13 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005295/1.343, allocations: 2.885 MB / 1.663 GB, free: 14.57 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007035/1.343, allocations: 324.6 kB / 1.663 GB, free: 14.45 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/1.343, allocations: 31.27 kB / 1.663 GB, free: 14.45 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.345, allocations: 124.8 kB / 1.663 GB, free: 14.44 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.345, allocations: 92.59 kB / 1.663 GB, free: 14.43 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.224e-05/1.345, allocations: 47.75 kB / 1.663 GB, free: 14.43 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001291/1.346, allocations: 1.156 MB / 1.665 GB, free: 14.29 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/1.346, allocations: 0 / 1.665 GB, free: 14.29 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001343/1.348, allocations: 476.5 kB / 1.665 GB, free: 14.25 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.007387/1.355, allocations: 3.923 MB / 1.669 GB, free: 13.05 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003756/1.359, allocations: 1.572 MB / 1.67 GB, free: 13.01 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.359, allocations: 0 / 1.67 GB, free: 13.01 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/1.361, allocations: 0.7714 MB / 1.671 GB, free: 12.99 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/1.365, allocations: 0.921 MB / 1.672 GB, free: 12.83 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/1.39, allocations: 15.04 MB / 1.687 GB, free: 8.5 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008597/1.391, allocations: 1.373 MB / 1.688 GB, free: 7.766 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001689/1.392, allocations: 461.4 kB / 1.689 GB, free: 7.633 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008445/1.393, allocations: 0.723 MB / 1.689 GB, free: 7.625 MB / 1.311 GB Notification: Performance of SimCode: time 6.81e-07/1.393, allocations: 0 / 1.689 GB, free: 7.625 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08465/1.478, allocations: 50.4 MB / 1.738 GB, free: 1.457 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.16/22.64, allocations: 0 / 1.738 GB, free: 1.457 MB / 1.326 GB " [Timeout remaining time 277] (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: 29.121794101025444]