Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000858/0.000858, 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.0008118/0.0008118, 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.8571/0.8571, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.651/1.651, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.876e-05, allocations: 2.281 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5893/0.5893, allocations: 214.2 MB / 1.19 GB, free: 0.5156 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.5995, allocations: 8.085 MB / 1.198 GB, free: 11.02 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.6014, allocations: 95.22 kB / 1.198 GB, free: 10.97 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.6037, allocations: 1.057 MB / 1.199 GB, free: 10.42 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.007109/0.6108, allocations: 3.306 MB / 1.202 GB, free: 8.633 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.007131/0.618, allocations: 3.642 MB / 1.206 GB, free: 6.848 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.004907/0.6229, allocations: 4.072 MB / 1.21 GB, free: 4.656 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/0.6247, allocations: 1.122 MB / 1.211 GB, free: 3.859 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006004/0.6308, allocations: 2.854 MB / 1.214 GB, free: 2.121 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/0.633, allocations: 1.274 MB / 1.215 GB, free: 1.461 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003556/0.6334, allocations: 134.4 kB / 1.215 GB, free: 1.461 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00571/0.6391, allocations: 3.239 MB / 1.218 GB, free: 15.63 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.000825/0.6399, allocations: 0.6452 MB / 1.219 GB, free: 15.18 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.6411, allocations: 0.691 MB / 1.22 GB, free: 14.86 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.006725/0.6478, allocations: 3.913 MB / 1.224 GB, free: 12.53 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6478, allocations: 0 / 1.224 GB, free: 12.53 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6478, allocations: 0 / 1.224 GB, free: 12.53 MB / 1.057 GB Notification: Performance of Transformations before backend: time 5.476e-05/0.6478, allocations: 0 / 1.224 GB, free: 12.53 MB / 1.057 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.004894/0.6527, allocations: 2.674 MB / 1.226 GB, free: 10.58 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6528, allocations: 8.469 kB / 1.226 GB, free: 10.58 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.653, allocations: 202.2 kB / 1.226 GB, free: 10.42 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004338/0.6573, allocations: 1.327 MB / 1.228 GB, free: 9.812 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.6594, allocations: 1.17 MB / 1.229 GB, free: 8.953 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.535e-05/0.6594, allocations: 98.5 kB / 1.229 GB, free: 8.91 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.6596, allocations: 132.1 kB / 1.229 GB, free: 8.867 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/0.6625, allocations: 2.081 MB / 1.231 GB, free: 7.551 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.6625, allocations: 2.531 kB / 1.231 GB, free: 7.551 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.6626, allocations: 57.38 kB / 1.231 GB, free: 7.508 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/0.6627, allocations: 59.81 kB / 1.231 GB, free: 7.5 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.6661, allocations: 2.196 MB / 1.233 GB, free: 6.418 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008559/0.6747, allocations: 6.471 MB / 1.24 GB, free: 1.031 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/0.6777, allocations: 1.819 MB / 1.241 GB, free: 15.21 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.6792, allocations: 0.9342 MB / 1.242 GB, free: 14.27 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000579/0.6797, allocations: 204.8 kB / 1.243 GB, free: 14.07 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001589/0.6813, allocations: 1.07 MB / 1.244 GB, free: 12.99 MB / 1.073 GB Notification: Performance of pre-optimization done (n=119): time 4.509e-06/0.6813, allocations: 0 / 1.244 GB, free: 12.99 MB / 1.073 GB Notification: Performance of matching and sorting (n=119): time 0.005212/0.6865, allocations: 2.904 MB / 1.246 GB, free: 10.07 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.6866, allocations: 72.34 kB / 1.246 GB, free: 9.992 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.6884, allocations: 1.687 MB / 1.248 GB, free: 8.305 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001851/0.6886, allocations: 49.7 kB / 1.248 GB, free: 8.25 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/0.6891, allocations: 0.8094 MB / 1.249 GB, free: 7.434 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/0.6895, allocations: 432.3 kB / 1.249 GB, free: 7.008 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.6898, allocations: 242.8 kB / 1.25 GB, free: 6.766 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6899, allocations: 353.9 kB / 1.25 GB, free: 6.414 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.6912, allocations: 0.83 MB / 1.251 GB, free: 5.582 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.693, allocations: 1.372 MB / 1.252 GB, free: 4.039 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00273/0.6958, allocations: 1.938 MB / 1.254 GB, free: 1.992 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.6958, allocations: 4 kB / 1.254 GB, free: 1.988 MB / 1.073 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003448/0.6992, allocations: 2.215 MB / 1.256 GB, free: 15.77 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.6993, allocations: 8 kB / 1.256 GB, free: 15.76 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.6993, allocations: 8 kB / 1.256 GB, free: 15.75 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.6993, allocations: 12 kB / 1.256 GB, free: 15.74 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.7003, allocations: 407.6 kB / 1.257 GB, free: 15.34 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.7003, allocations: 27.86 kB / 1.257 GB, free: 15.31 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.7015, allocations: 290.6 kB / 1.257 GB, free: 15.03 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.233e-05/0.7016, allocations: 59.97 kB / 1.257 GB, free: 14.97 MB / 1.089 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.0006028/0.7022, allocations: 392.5 kB / 1.257 GB, free: 14.58 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.7025, allocations: 202.7 kB / 1.257 GB, free: 14.38 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/0.7059, allocations: 2.221 MB / 1.26 GB, free: 12.14 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.7059, allocations: 12 kB / 1.26 GB, free: 12.13 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.7059, allocations: 7.875 kB / 1.26 GB, free: 12.12 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.7059, allocations: 7.969 kB / 1.26 GB, free: 12.12 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005649/0.7116, allocations: 4.297 MB / 1.264 GB, free: 7.688 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.7116, allocations: 8 kB / 1.264 GB, free: 7.68 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009296/0.7125, allocations: 347 kB / 1.264 GB, free: 7.344 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.7125, allocations: 8 kB / 1.264 GB, free: 7.336 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/0.7126, allocations: 43.97 kB / 1.264 GB, free: 7.293 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/0.7126, allocations: 15.98 kB / 1.264 GB, free: 7.277 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.7126, allocations: 11.94 kB / 1.264 GB, free: 7.266 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004957/0.7176, allocations: 3.505 MB / 1.268 GB, free: 3.66 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007312/0.7183, allocations: 346.3 kB / 1.268 GB, free: 3.32 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.7185, allocations: 35.98 kB / 1.268 GB, free: 3.285 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008282/0.7193, allocations: 167.8 kB / 1.268 GB, free: 3.121 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.7194, allocations: 104.7 kB / 1.268 GB, free: 3.016 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.7195, allocations: 59.84 kB / 1.268 GB, free: 2.957 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001063/0.7206, allocations: 1.15 MB / 1.27 GB, free: 1.816 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7206, allocations: 0 / 1.27 GB, free: 1.816 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001097/0.7217, allocations: 499.4 kB / 1.27 GB, free: 1.328 MB / 1.089 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.00583/0.7275, allocations: 4.554 MB / 1.274 GB, free: 12.87 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.003074/0.7306, allocations: 1.923 MB / 1.276 GB, free: 10.95 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.7306, allocations: 0 / 1.276 GB, free: 10.95 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.7321, allocations: 0.9792 MB / 1.277 GB, free: 9.969 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.7347, allocations: 0.9617 MB / 1.278 GB, free: 9.027 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/0.7577, allocations: 16.09 MB / 1.294 GB, free: 8.305 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.7583, allocations: 0.8117 MB / 1.295 GB, free: 7.457 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.001448/0.7598, allocations: 478.6 kB / 1.295 GB, free: 6.984 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008725/0.7606, allocations: 0.7307 MB / 1.296 GB, free: 6.254 MB / 1.12 GB Notification: Performance of SimCode: time 1.413e-06/0.7606, allocations: 0 / 1.296 GB, free: 6.254 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06629/0.8269, allocations: 55.78 MB / 1.35 GB, free: 15.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.627, allocations: 0 / 1.35 GB, free: 15.5 MB / 1.182 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.641762677580118]