Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008355/0.0008355, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008432/0.0008432, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9107/0.9107, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.19e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7189/0.7189, allocations: 171.2 MB / 1.118 GB, free: 31.09 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007966/0.7269, allocations: 5.028 MB / 1.123 GB, free: 27.69 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.7291, allocations: 65.53 kB / 1.123 GB, free: 27.65 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.7313, allocations: 0.8176 MB / 1.123 GB, free: 27.26 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00731/0.7386, allocations: 2.784 MB / 1.126 GB, free: 25.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.742, allocations: 1.085 MB / 1.127 GB, free: 25.3 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004617/0.7466, allocations: 2.772 MB / 1.13 GB, free: 24.04 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.7483, allocations: 0.7561 MB / 1.131 GB, free: 23.71 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004414/0.7527, allocations: 1.468 MB / 1.132 GB, free: 23.11 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.7548, allocations: 0.94 MB / 1.133 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003274/0.7551, allocations: 87.97 kB / 1.133 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.7586, allocations: 1.516 MB / 1.135 GB, free: 22.27 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007422/0.7594, allocations: 490.4 kB / 1.135 GB, free: 22.04 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.7605, allocations: 453 kB / 1.136 GB, free: 21.86 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.005427/0.7659, allocations: 2.237 MB / 1.138 GB, free: 21.09 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7659, allocations: 0 / 1.138 GB, free: 21.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7659, allocations: 0 / 1.138 GB, free: 21.09 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.873e-05/0.766, allocations: 2.141 kB / 1.138 GB, free: 21.09 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005259/0.7713, allocations: 1.949 MB / 1.14 GB, free: 19.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.7713, allocations: 9.938 kB / 1.14 GB, free: 19.93 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001855/0.7715, allocations: 136.4 kB / 1.14 GB, free: 19.84 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003245/0.7747, allocations: 0.9054 MB / 1.141 GB, free: 19.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.7765, allocations: 0.8808 MB / 1.141 GB, free: 19.18 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.039e-05/0.7765, allocations: 72.38 kB / 1.142 GB, free: 19.15 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.7767, allocations: 89.47 kB / 1.142 GB, free: 19.12 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.7795, allocations: 1.591 MB / 1.143 GB, free: 18.59 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.7795, allocations: 0.9688 kB / 1.143 GB, free: 18.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/0.7796, allocations: 36.03 kB / 1.143 GB, free: 18.56 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.887e-05/0.7796, allocations: 49.34 kB / 1.143 GB, free: 18.55 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/0.7832, allocations: 1.857 MB / 1.145 GB, free: 18.04 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006082/0.7892, allocations: 3.967 MB / 1.149 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.7919, allocations: 1.521 MB / 1.15 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.7932, allocations: 0.8165 MB / 1.151 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005897/0.7938, allocations: 186.3 kB / 1.151 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.7953, allocations: 0.9249 MB / 1.152 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=95): time 4.368e-06/0.7953, allocations: 1.188 kB / 1.152 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=95): time 0.00474/0.8, allocations: 2.484 MB / 1.155 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.8001, allocations: 63.62 kB / 1.155 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.8015, allocations: 1.258 MB / 1.156 GB, free: 13.69 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.8016, allocations: 55.89 kB / 1.156 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.8019, allocations: 0.557 MB / 1.157 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.8022, allocations: 340.7 kB / 1.157 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.8024, allocations: 184.4 kB / 1.157 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.8025, allocations: 343.1 kB / 1.157 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.8037, allocations: 0.7128 MB / 1.158 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.8052, allocations: 1.141 MB / 1.159 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.8078, allocations: 1.571 MB / 1.161 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.8079, allocations: 2.75 kB / 1.161 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003322/0.8112, allocations: 1.801 MB / 1.163 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.8112, allocations: 12.09 kB / 1.163 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.8112, allocations: 3.281 kB / 1.163 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.555e-05/0.8113, allocations: 9.469 kB / 1.163 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/0.8122, allocations: 339.5 kB / 1.163 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/0.8123, allocations: 19.17 kB / 1.163 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.8134, allocations: 239.1 kB / 1.163 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.8135, allocations: 49.7 kB / 1.163 GB, free: 10.34 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006701/0.8142, allocations: 330.9 kB / 1.164 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.8144, allocations: 150.3 kB / 1.164 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00303/0.8174, allocations: 1.854 MB / 1.165 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.8174, allocations: 9.906 kB / 1.166 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.8174, allocations: 0.875 kB / 1.166 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.8175, allocations: 12.72 kB / 1.166 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/0.8221, allocations: 3.23 MB / 1.169 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.8221, allocations: 5.25 kB / 1.169 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008544/0.823, allocations: 295.1 kB / 1.169 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/0.823, allocations: 12.25 kB / 1.169 GB, free: 8.137 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.348e-05/0.823, allocations: 34.17 kB / 1.169 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.8231, allocations: 11.12 kB / 1.169 GB, free: 8.121 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.8231, allocations: 4.875 kB / 1.169 GB, free: 8.121 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004185/0.8272, allocations: 2.911 MB / 1.172 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/0.8278, allocations: 264.4 kB / 1.172 GB, free: 6.879 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.8279, allocations: 34.56 kB / 1.172 GB, free: 6.855 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/0.8286, allocations: 159.9 kB / 1.172 GB, free: 6.832 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.8288, allocations: 77.88 kB / 1.172 GB, free: 6.812 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.8288, allocations: 40.48 kB / 1.172 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008863/0.8297, allocations: 0.874 MB / 1.173 GB, free: 6.488 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8297, allocations: 0 / 1.173 GB, free: 6.488 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0009758/0.8307, allocations: 347.2 kB / 1.174 GB, free: 6.434 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (101): * Single equations (assignments): 95 * 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.005036/0.8357, allocations: 3.911 MB / 1.177 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002838/0.8386, allocations: 1.616 MB / 1.179 GB, free: 3.691 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.8386, allocations: 3.406 kB / 1.179 GB, free: 3.691 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.8398, allocations: 0.8242 MB / 1.18 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.8417, allocations: 0.6205 MB / 1.18 GB, free: 2.973 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.8575, allocations: 12.17 MB / 1.192 GB, free: 11.96 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.858, allocations: 0.6061 MB / 1.193 GB, free: 11.62 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001169/0.8592, allocations: 367 kB / 1.193 GB, free: 11.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/0.8598, allocations: 0.5095 MB / 1.194 GB, free: 11.03 MB / 1.01 GB Notification: Performance of SimCode: time 2.255e-06/0.8598, allocations: 0 / 1.194 GB, free: 11.03 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05628/0.9161, allocations: 39.37 MB / 1.232 GB, free: 9.227 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/9.072, allocations: 2.5 kB / 1.232 GB, free: 9.227 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.28228288050741]