Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008952/0.0008952, 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.0007501/0.0007501, allocations: 169.9 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.853/0.853, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 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 1.707/1.707, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.346e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5987/0.5987, allocations: 214.2 MB / 1.209 GB, free: 11.16 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.6092, allocations: 8.015 MB / 1.217 GB, free: 5.668 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.6108, allocations: 94.5 kB / 1.217 GB, free: 5.613 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.6128, allocations: 1.062 MB / 1.218 GB, free: 4.789 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.005613/0.6184, allocations: 3.284 MB / 1.221 GB, free: 2.289 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.005589/0.624, allocations: 3.632 MB / 1.225 GB, free: 15.59 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.002793/0.6268, allocations: 3.998 MB / 1.229 GB, free: 13.24 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008576/0.6277, allocations: 1.074 MB / 1.23 GB, free: 12.47 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.6304, allocations: 2.819 MB / 1.232 GB, free: 10.75 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009975/0.6314, allocations: 1.267 MB / 1.234 GB, free: 10.1 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.6315, allocations: 136 kB / 1.234 GB, free: 10.1 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/0.6354, allocations: 3.235 MB / 1.237 GB, free: 8.27 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.6358, allocations: 0.6526 MB / 1.237 GB, free: 7.812 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004562/0.6362, allocations: 0.6837 MB / 1.238 GB, free: 7.496 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.6393, allocations: 3.911 MB / 1.242 GB, free: 3.941 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6393, allocations: 0 / 1.242 GB, free: 3.941 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6393, allocations: 0 / 1.242 GB, free: 3.941 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.6393, allocations: 0 / 1.242 GB, free: 3.941 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003235/0.6425, allocations: 2.639 MB / 1.245 GB, free: 1.25 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6426, allocations: 16.75 kB / 1.245 GB, free: 1.234 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.6427, allocations: 194.5 kB / 1.245 GB, free: 1.035 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.6465, allocations: 1.337 MB / 1.246 GB, free: 15.7 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.6478, allocations: 1.154 MB / 1.247 GB, free: 14.49 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/0.6479, allocations: 106.6 kB / 1.247 GB, free: 14.39 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.648, allocations: 132 kB / 1.247 GB, free: 14.26 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.6504, allocations: 2.082 MB / 1.249 GB, free: 12.08 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.6505, allocations: 7.938 kB / 1.249 GB, free: 12.07 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.657e-05/0.6506, allocations: 63.91 kB / 1.25 GB, free: 12.01 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.6506, allocations: 65.38 kB / 1.25 GB, free: 11.95 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002985/0.6536, allocations: 2.191 MB / 1.252 GB, free: 9.75 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005705/0.6593, allocations: 6.465 MB / 1.258 GB, free: 3.125 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/0.6618, allocations: 1.812 MB / 1.26 GB, free: 1.301 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.663, allocations: 0.9444 MB / 1.261 GB, free: 364 kB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005138/0.6635, allocations: 200.8 kB / 1.261 GB, free: 164 kB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.6649, allocations: 1.059 MB / 1.262 GB, free: 15.08 MB / 1.104 GB Notification: Performance of pre-optimization done (n=119): time 2.555e-06/0.6649, allocations: 3.938 kB / 1.262 GB, free: 15.08 MB / 1.104 GB Notification: Performance of matching and sorting (n=119): time 0.004216/0.6691, allocations: 2.904 MB / 1.265 GB, free: 12.17 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.6692, allocations: 72.34 kB / 1.265 GB, free: 12.09 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.6704, allocations: 1.686 MB / 1.266 GB, free: 10.4 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/0.6705, allocations: 49.7 kB / 1.267 GB, free: 10.35 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/0.6709, allocations: 0.8055 MB / 1.267 GB, free: 9.535 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.6711, allocations: 432.3 kB / 1.268 GB, free: 9.109 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/0.6715, allocations: 238.9 kB / 1.268 GB, free: 8.867 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.6716, allocations: 353.9 kB / 1.268 GB, free: 8.516 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.6728, allocations: 0.83 MB / 1.269 GB, free: 7.688 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.6742, allocations: 1.376 MB / 1.27 GB, free: 6.133 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/0.6766, allocations: 1.942 MB / 1.272 GB, free: 4.086 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.6766, allocations: 4 kB / 1.272 GB, free: 4.082 MB / 1.104 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002979/0.6796, allocations: 2.202 MB / 1.275 GB, free: 1.867 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6796, allocations: 8 kB / 1.275 GB, free: 1.859 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.6797, allocations: 8 kB / 1.275 GB, free: 1.852 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.6797, allocations: 19.98 kB / 1.275 GB, free: 1.832 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.6807, allocations: 407.7 kB / 1.275 GB, free: 1.434 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.6807, allocations: 19.88 kB / 1.275 GB, free: 1.414 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/0.6816, allocations: 298.6 kB / 1.275 GB, free: 1.121 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.313e-05/0.6817, allocations: 59.97 kB / 1.275 GB, free: 1.062 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0004156/0.6821, allocations: 395.4 kB / 1.276 GB, free: 0.668 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.6822, allocations: 198.7 kB / 1.276 GB, free: 484 kB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/0.6852, allocations: 2.215 MB / 1.278 GB, free: 14.25 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6852, allocations: 15.94 kB / 1.278 GB, free: 14.24 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6852, allocations: 7.938 kB / 1.278 GB, free: 14.23 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6852, allocations: 15.14 kB / 1.278 GB, free: 14.22 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0049/0.6901, allocations: 4.284 MB / 1.282 GB, free: 9.793 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6901, allocations: 8.125 kB / 1.282 GB, free: 9.785 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008394/0.691, allocations: 351.5 kB / 1.283 GB, free: 9.441 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.691, allocations: 8 kB / 1.283 GB, free: 9.434 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.691, allocations: 43.97 kB / 1.283 GB, free: 9.391 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.6911, allocations: 15.94 kB / 1.283 GB, free: 9.375 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.6911, allocations: 12.48 kB / 1.283 GB, free: 9.363 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004213/0.6953, allocations: 3.501 MB / 1.286 GB, free: 5.758 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.6957, allocations: 346.3 kB / 1.286 GB, free: 5.418 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.6958, allocations: 28 kB / 1.286 GB, free: 5.391 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.6965, allocations: 175.8 kB / 1.287 GB, free: 5.219 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.6967, allocations: 96.72 kB / 1.287 GB, free: 5.125 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.6967, allocations: 57.34 kB / 1.287 GB, free: 5.07 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0008913/0.6976, allocations: 1.15 MB / 1.288 GB, free: 3.93 MB / 1.12 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6976, allocations: 0 / 1.288 GB, free: 3.93 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0008055/0.6984, allocations: 491.5 kB / 1.288 GB, free: 3.449 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (125): * Single equations (assignments): 119 * 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.00535/0.7038, allocations: 4.568 MB / 1.293 GB, free: 14.97 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002647/0.7064, allocations: 1.915 MB / 1.295 GB, free: 13.05 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7064, allocations: 256 / 1.295 GB, free: 13.05 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.7078, allocations: 0.9789 MB / 1.296 GB, free: 12.08 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.7098, allocations: 0.9341 MB / 1.297 GB, free: 11.16 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.7278, allocations: 16.03 MB / 1.312 GB, free: 10.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.7283, allocations: 0.8096 MB / 1.313 GB, free: 9.648 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001127/0.7294, allocations: 474.4 kB / 1.313 GB, free: 9.18 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007174/0.7301, allocations: 0.7306 MB / 1.314 GB, free: 8.449 MB / 1.151 GB Notification: Performance of SimCode: time 8.41e-07/0.7301, allocations: 3.938 kB / 1.314 GB, free: 8.445 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05349/0.7836, allocations: 55.21 MB / 1.368 GB, free: 2.129 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.618, allocations: 21.88 kB / 1.368 GB, free: 2.117 MB / 1.198 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.696205588057637]