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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008242/0.008242, allocations: 100.9 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002375/0.002375, allocations: 195.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.003324/0.003324, allocations: 69.48 kB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3029, allocations: 162.2 MB / 1.241 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2608/0.5638, allocations: 241.7 MB / 1.478 GB, free: 6.598 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.5777, allocations: 8.41 MB / 1.486 GB, free: 14.17 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/0.5805, allocations: 71.56 kB / 1.486 GB, free: 14.1 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.5833, allocations: 1.056 MB / 1.487 GB, free: 13.04 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007128/0.5904, allocations: 3.064 MB / 1.49 GB, free: 9.961 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.007905/0.5984, allocations: 3.531 MB / 1.493 GB, free: 6.43 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005265/0.6036, allocations: 3.975 MB / 1.497 GB, free: 2.441 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.6056, allocations: 1.414 MB / 1.499 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.6097, allocations: 2.211 MB / 1.501 GB, free: 14.78 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.6116, allocations: 1.389 MB / 1.502 GB, free: 13.38 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.6119, allocations: 136 kB / 1.502 GB, free: 13.25 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006947/0.6188, allocations: 3.932 MB / 1.506 GB, free: 9.309 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006967/0.6196, allocations: 0.6036 MB / 1.507 GB, free: 8.703 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.6208, allocations: 1.01 MB / 1.508 GB, free: 7.688 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.006914/0.6277, allocations: 3.905 MB / 1.511 GB, free: 3.77 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.6278, allocations: 4 kB / 1.511 GB, free: 3.766 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6278, allocations: 4 kB / 1.511 GB, free: 3.762 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.639e-05/0.6278, allocations: 0 / 1.511 GB, free: 3.762 MB / 1.232 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.00643/0.6343, allocations: 2.739 MB / 1.514 GB, free: 0.9531 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6343, allocations: 8.031 kB / 1.514 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/0.6346, allocations: 194.5 kB / 1.514 GB, free: 0.7461 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009066/0.6436, allocations: 1.325 MB / 1.516 GB, free: 15.42 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.6461, allocations: 1.287 MB / 1.517 GB, free: 14.08 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/0.6462, allocations: 102.6 kB / 1.517 GB, free: 13.98 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.6465, allocations: 140 kB / 1.517 GB, free: 13.84 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00474/0.6512, allocations: 2.074 MB / 1.519 GB, free: 11.66 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.6513, allocations: 7.938 kB / 1.519 GB, free: 11.66 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.6514, allocations: 52 kB / 1.519 GB, free: 11.61 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.787e-05/0.6515, allocations: 62.45 kB / 1.519 GB, free: 11.54 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006291/0.6578, allocations: 2.176 MB / 1.521 GB, free: 9.359 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/0.6695, allocations: 8.384 MB / 1.53 GB, free: 428 kB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005403/0.675, allocations: 1.877 MB / 1.531 GB, free: 14.54 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002767/0.6777, allocations: 0.9835 MB / 1.532 GB, free: 13.55 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.6792, allocations: 0.9491 MB / 1.533 GB, free: 12.41 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002962/0.6822, allocations: 1.055 MB / 1.534 GB, free: 11.35 MB / 1.264 GB Notification: Performance of pre-optimization done (n=119): time 3.616e-06/0.6822, allocations: 4 kB / 1.534 GB, free: 11.34 MB / 1.264 GB Notification: Performance of matching and sorting (n=119): time 0.009355/0.6915, allocations: 2.88 MB / 1.537 GB, free: 8.453 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.6916, allocations: 64.41 kB / 1.537 GB, free: 8.379 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.6939, allocations: 1.623 MB / 1.539 GB, free: 6.754 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.6941, allocations: 49.7 kB / 1.539 GB, free: 6.699 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007242/0.6948, allocations: 0.8092 MB / 1.54 GB, free: 5.883 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000445/0.6953, allocations: 432.3 kB / 1.54 GB, free: 5.457 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.6958, allocations: 238.9 kB / 1.54 GB, free: 5.219 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.6959, allocations: 353.9 kB / 1.541 GB, free: 4.867 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/0.6986, allocations: 0.8222 MB / 1.541 GB, free: 4.043 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/0.7015, allocations: 1.146 MB / 1.542 GB, free: 2.781 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00545/0.707, allocations: 1.922 MB / 1.544 GB, free: 0.75 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.707, allocations: 4 kB / 1.544 GB, free: 0.7461 MB / 1.264 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.5468/1.254, allocations: 2.191 MB / 1.547 GB, free: 300.9 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/1.254, allocations: 11.8 kB / 1.547 GB, free: 300.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.254, allocations: 9.031 kB / 1.547 GB, free: 300.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/1.254, allocations: 13.16 kB / 1.547 GB, free: 300.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/1.256, allocations: 421 kB / 1.547 GB, free: 300.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/1.256, allocations: 19.41 kB / 1.547 GB, free: 300.9 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/1.258, allocations: 282.1 kB / 1.547 GB, free: 300.9 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.258, allocations: 65.77 kB / 1.547 GB, free: 300.9 MB / 1.264 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.0006337/1.259, allocations: 400.4 kB / 1.548 GB, free: 300.8 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/1.259, allocations: 200.8 kB / 1.548 GB, free: 300.8 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006475/1.266, allocations: 2.161 MB / 1.55 GB, free: 300.7 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/1.266, allocations: 11.44 kB / 1.55 GB, free: 300.7 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.266, allocations: 1.812 kB / 1.55 GB, free: 300.7 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.266, allocations: 6.078 kB / 1.55 GB, free: 300.7 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009087/1.275, allocations: 4.455 MB / 1.554 GB, free: 299.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.275, allocations: 9.75 kB / 1.554 GB, free: 299.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/1.277, allocations: 340.4 kB / 1.555 GB, free: 299.1 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.166e-05/1.277, allocations: 9.875 kB / 1.555 GB, free: 299.1 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/1.277, allocations: 38.52 kB / 1.555 GB, free: 299.1 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.698e-05/1.277, allocations: 17.25 kB / 1.555 GB, free: 299.1 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.277, allocations: 14.78 kB / 1.555 GB, free: 299.1 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008896/1.286, allocations: 3.445 MB / 1.558 GB, free: 297.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008942/1.287, allocations: 419.4 kB / 1.559 GB, free: 297.5 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004581/1.287, allocations: 33.48 kB / 1.559 GB, free: 297.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/1.289, allocations: 166.7 kB / 1.559 GB, free: 297.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/1.289, allocations: 96.05 kB / 1.559 GB, free: 297.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/1.29, allocations: 52.67 kB / 1.559 GB, free: 297.4 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001671/1.291, allocations: 1.113 MB / 1.56 GB, free: 297.1 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/1.291, allocations: 0 / 1.56 GB, free: 297.1 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001429/1.293, allocations: 494 kB / 1.56 GB, free: 297 MB / 1.264 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 (119): * Single equations (assignments): 113 * 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.0102/1.303, allocations: 4.494 MB / 1.565 GB, free: 295 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005477/1.308, allocations: 1.959 MB / 1.567 GB, free: 294.5 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.308, allocations: 1.062 kB / 1.567 GB, free: 294.5 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002662/1.311, allocations: 0.9968 MB / 1.568 GB, free: 294.2 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004093/1.315, allocations: 0.9475 MB / 1.569 GB, free: 293.9 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/1.345, allocations: 15.99 MB / 1.584 GB, free: 285.9 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006703/1.346, allocations: 1.372 MB / 1.586 GB, free: 284.5 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001796/1.347, allocations: 482.3 kB / 1.586 GB, free: 284.1 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000921/1.348, allocations: 0.7179 MB / 1.587 GB, free: 283.3 MB / 1.264 GB Notification: Performance of SimCode: time 4.21e-07/1.348, allocations: 0 / 1.587 GB, free: 283.3 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06879/1.417, allocations: 50.61 MB / 1.636 GB, free: 233.4 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.75, allocations: 9.531 kB / 1.636 GB, free: 233.4 MB / 1.264 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches