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.00158/0.00158, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001781/0.001781, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.916/2.916, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.00197/0.00197, allocations: 64.81 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3121, allocations: 176.1 MB / 1.325 GB, free: 2.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2379/0.55, allocations: 214.7 MB / 1.535 GB, free: 10.85 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.5633, allocations: 8.055 MB / 1.543 GB, free: 2.781 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.565, allocations: 95.12 kB / 1.543 GB, free: 2.688 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.5675, allocations: 1.049 MB / 1.544 GB, free: 1.633 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008135/0.5756, allocations: 3.224 MB / 1.547 GB, free: 14.39 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00853/0.5842, allocations: 3.495 MB / 1.55 GB, free: 10.89 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005437/0.5896, allocations: 4.038 MB / 1.554 GB, free: 6.84 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.5914, allocations: 1.125 MB / 1.555 GB, free: 5.68 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004837/0.5962, allocations: 2.344 MB / 1.558 GB, free: 3.328 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.5985, allocations: 1.408 MB / 1.559 GB, free: 1.914 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002477/0.5988, allocations: 136 kB / 1.559 GB, free: 1.781 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007696/0.6065, allocations: 3.179 MB / 1.562 GB, free: 14.59 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008873/0.6074, allocations: 0.6384 MB / 1.563 GB, free: 13.95 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.6087, allocations: 0.8318 MB / 1.564 GB, free: 13.12 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006792/0.6154, allocations: 3.784 MB / 1.567 GB, free: 9.32 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6155, allocations: 0 / 1.567 GB, free: 9.32 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6155, allocations: 0 / 1.567 GB, free: 9.32 MB / 1.264 GB Notification: Performance of Transformations before backend: time 3.338e-05/0.6155, allocations: 0 / 1.567 GB, free: 9.32 MB / 1.264 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.006046/0.6215, allocations: 2.682 MB / 1.57 GB, free: 6.586 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6216, allocations: 8.031 kB / 1.57 GB, free: 6.578 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002368/0.6218, allocations: 194.5 kB / 1.57 GB, free: 6.379 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008374/0.6302, allocations: 1.333 MB / 1.571 GB, free: 5.043 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.633, allocations: 1.177 MB / 1.573 GB, free: 3.824 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-05/0.6331, allocations: 102.6 kB / 1.573 GB, free: 3.723 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.6333, allocations: 132 kB / 1.573 GB, free: 3.594 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.6379, allocations: 2.075 MB / 1.575 GB, free: 1.418 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.6379, allocations: 7.938 kB / 1.575 GB, free: 1.41 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.638, allocations: 56 kB / 1.575 GB, free: 1.355 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-05/0.6381, allocations: 62.47 kB / 1.575 GB, free: 1.293 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005921/0.644, allocations: 2.187 MB / 1.577 GB, free: 15.1 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.655, allocations: 6.478 MB / 1.583 GB, free: 8.438 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/0.66, allocations: 1.82 MB / 1.585 GB, free: 6.605 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002546/0.6626, allocations: 0.9413 MB / 1.586 GB, free: 5.66 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000956/0.6635, allocations: 200.8 kB / 1.586 GB, free: 5.465 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002816/0.6663, allocations: 1.067 MB / 1.587 GB, free: 4.387 MB / 1.279 GB Notification: Performance of pre-optimization done (n=119): time 4.248e-06/0.6663, allocations: 3.938 kB / 1.587 GB, free: 4.383 MB / 1.279 GB Notification: Performance of matching and sorting (n=119): time 0.008894/0.6752, allocations: 2.912 MB / 1.59 GB, free: 1.461 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.6753, allocations: 64.41 kB / 1.59 GB, free: 1.387 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.6776, allocations: 1.683 MB / 1.592 GB, free: 15.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.6778, allocations: 57.7 kB / 1.592 GB, free: 15.64 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007093/0.6785, allocations: 0.8133 MB / 1.593 GB, free: 14.82 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004377/0.6789, allocations: 436.3 kB / 1.593 GB, free: 14.39 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00043/0.6794, allocations: 238.8 kB / 1.593 GB, free: 14.15 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.6796, allocations: 353.9 kB / 1.594 GB, free: 13.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002444/0.682, allocations: 0.8222 MB / 1.595 GB, free: 12.98 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/0.6848, allocations: 1.376 MB / 1.596 GB, free: 11.43 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004968/0.6898, allocations: 1.942 MB / 1.598 GB, free: 9.379 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.6898, allocations: 8 kB / 1.598 GB, free: 9.371 MB / 1.295 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.005882/0.6957, allocations: 2.202 MB / 1.6 GB, free: 7.16 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.6957, allocations: 11.94 kB / 1.6 GB, free: 7.148 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.6957, allocations: 12.09 kB / 1.6 GB, free: 7.137 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.6958, allocations: 15.94 kB / 1.6 GB, free: 7.121 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.6979, allocations: 407.4 kB / 1.6 GB, free: 6.723 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/0.6979, allocations: 19.94 kB / 1.6 GB, free: 6.703 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.6998, allocations: 290.6 kB / 1.601 GB, free: 6.418 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.7, allocations: 63.97 kB / 1.601 GB, free: 6.355 MB / 1.295 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.0007221/0.7007, allocations: 391.4 kB / 1.601 GB, free: 5.965 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.701, allocations: 206.6 kB / 1.601 GB, free: 5.762 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005997/0.707, allocations: 2.219 MB / 1.603 GB, free: 3.531 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.707, allocations: 12 kB / 1.604 GB, free: 3.52 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.707, allocations: 0 / 1.604 GB, free: 3.52 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.707, allocations: 11.97 kB / 1.604 GB, free: 3.508 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5772/1.284, allocations: 4.307 MB / 1.608 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/1.284, allocations: 6.375 kB / 1.608 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/1.286, allocations: 343.6 kB / 1.608 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-05/1.286, allocations: 12.14 kB / 1.608 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/1.287, allocations: 43.42 kB / 1.608 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.462e-05/1.287, allocations: 13.16 kB / 1.608 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.379e-05/1.287, allocations: 10.53 kB / 1.608 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008255/1.295, allocations: 3.524 MB / 1.612 GB, free: 279.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009903/1.296, allocations: 345.6 kB / 1.612 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/1.296, allocations: 32.7 kB / 1.612 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/1.298, allocations: 167 kB / 1.612 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/1.298, allocations: 107.9 kB / 1.612 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/1.298, allocations: 52.77 kB / 1.612 GB, free: 279.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001583/1.3, allocations: 1.152 MB / 1.613 GB, free: 279.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.3, allocations: 5.438 kB / 1.613 GB, free: 279.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001269/1.301, allocations: 496.8 kB / 1.614 GB, free: 279 MB / 1.295 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.0104/1.311, allocations: 4.571 MB / 1.618 GB, free: 277.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006392/1.318, allocations: 1.916 MB / 1.62 GB, free: 276.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.318, allocations: 5.156 kB / 1.62 GB, free: 276.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002865/1.321, allocations: 0.9786 MB / 1.621 GB, free: 276.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/1.325, allocations: 0.9599 MB / 1.622 GB, free: 276.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/1.359, allocations: 16.14 MB / 1.638 GB, free: 269.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/1.359, allocations: 0.8108 MB / 1.639 GB, free: 268.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001928/1.361, allocations: 481.6 kB / 1.639 GB, free: 268.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008907/1.362, allocations: 0.7281 MB / 1.64 GB, free: 268.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.132e-06/1.362, allocations: 0 / 1.64 GB, free: 268.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08311/1.445, allocations: 55.95 MB / 1.694 GB, free: 216.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/14.32, allocations: 13.3 kB / 1.694 GB, free: 216.3 MB / 1.295 GB " [Timeout remaining time 285] (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/jenkins1/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: 20.759919055737555]