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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001147/0.001147, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.814/2.814, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 73.33 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3323, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.8442/1.176, allocations: 193.8 MB / 1.253 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01064/1.187, allocations: 5.15 MB / 1.258 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/1.189, allocations: 45.88 kB / 1.258 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00266/1.192, allocations: 0.8145 MB / 1.259 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008262/1.2, allocations: 2.597 MB / 1.261 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003349/1.203, allocations: 1.116 MB / 1.262 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003857/1.207, allocations: 2.678 MB / 1.265 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/1.209, allocations: 0.9401 MB / 1.266 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/1.211, allocations: 1.099 MB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/1.213, allocations: 0.9855 MB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001805/1.213, allocations: 87.48 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004642/1.218, allocations: 1.788 MB / 1.27 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006117/1.218, allocations: 452.6 kB / 1.27 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009818/1.219, allocations: 0.662 MB / 1.271 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005679/1.225, allocations: 2.18 MB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/1.225, allocations: 0.6562 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.053e-06/1.225, allocations: 0 / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.809e-05/1.225, allocations: 0.875 kB / 1.273 GB, free: 4.215 MB / 0.9981 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.00655/1.232, allocations: 1.96 MB / 1.275 GB, free: 19.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.232, allocations: 12.48 kB / 1.275 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/1.232, allocations: 141.9 kB / 1.275 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006321/1.238, allocations: 0.8908 MB / 1.276 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/1.241, allocations: 0.9078 MB / 1.277 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/1.241, allocations: 69.41 kB / 1.277 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/1.241, allocations: 86.08 kB / 1.277 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004757/1.246, allocations: 1.59 MB / 1.279 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/1.246, allocations: 1.938 kB / 1.279 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/1.246, allocations: 38.08 kB / 1.279 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.031e-05/1.246, allocations: 46.48 kB / 1.279 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006055/1.252, allocations: 1.85 MB / 1.28 GB, free: 18.64 MB / 1.014 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.009072/1.262, allocations: 4.756 MB / 1.285 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0048/1.266, allocations: 1.567 MB / 1.287 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/1.269, allocations: 0.8624 MB / 1.287 GB, free: 16.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/1.27, allocations: 0.937 MB / 1.288 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002851/1.273, allocations: 0.9119 MB / 1.289 GB, free: 15.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 4.959e-06/1.273, allocations: 1.969 kB / 1.289 GB, free: 15.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.008799/1.282, allocations: 2.457 MB / 1.292 GB, free: 15.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/1.282, allocations: 64.34 kB / 1.292 GB, free: 15.53 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/1.285, allocations: 1.194 MB / 1.293 GB, free: 15.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/1.285, allocations: 48.59 kB / 1.293 GB, free: 15.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006062/1.285, allocations: 0.5337 MB / 1.293 GB, free: 15.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004031/1.286, allocations: 326.8 kB / 1.294 GB, free: 14.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005271/1.286, allocations: 191.5 kB / 1.294 GB, free: 14.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.286, allocations: 345.3 kB / 1.294 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/1.289, allocations: 0.6966 MB / 1.295 GB, free: 14.63 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/1.291, allocations: 0.9201 MB / 1.296 GB, free: 14.42 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004586/1.296, allocations: 1.549 MB / 1.297 GB, free: 14.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/1.296, allocations: 6.844 kB / 1.297 GB, free: 14.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005727/1.302, allocations: 1.778 MB / 1.299 GB, free: 14.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.302, allocations: 9.25 kB / 1.299 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.302, allocations: 3.625 kB / 1.299 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/1.302, allocations: 12.75 kB / 1.299 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/1.304, allocations: 345.3 kB / 1.299 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-05/1.304, allocations: 9.109 kB / 1.299 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.306, allocations: 233.3 kB / 1.3 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/1.306, allocations: 52.5 kB / 1.3 GB, free: 13.97 MB / 1.014 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.0008342/1.307, allocations: 339.2 kB / 1.3 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005124/1.307, allocations: 135.3 kB / 1.3 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005481/1.313, allocations: 1.809 MB / 1.302 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.313, allocations: 8.094 kB / 1.302 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/1.313, allocations: 0 / 1.302 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.313, allocations: 11.19 kB / 1.302 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007984/1.321, allocations: 3.324 MB / 1.305 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/1.321, allocations: 4.844 kB / 1.305 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.323, allocations: 299.4 kB / 1.306 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.93e-05/1.323, allocations: 8.875 kB / 1.306 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/1.323, allocations: 33.06 kB / 1.306 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/1.323, allocations: 9.062 kB / 1.306 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.323, allocations: 8.125 kB / 1.306 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007745/1.33, allocations: 2.845 MB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009641/1.331, allocations: 319.3 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005005/1.332, allocations: 27.41 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/1.334, allocations: 156.3 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/1.334, allocations: 76.61 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/1.334, allocations: 38.8 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00175/1.336, allocations: 0.828 MB / 1.31 GB, free: 12.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.233e-06/1.336, allocations: 1.812 kB / 1.31 GB, free: 12.38 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001561/1.338, allocations: 344 kB / 1.31 GB, free: 12.35 MB / 1.014 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 (95): * Single equations (assignments): 89 * 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.00928/1.347, allocations: 3.825 MB / 1.314 GB, free: 11.28 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00553/1.353, allocations: 1.777 MB / 1.316 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.353, allocations: 1.781 kB / 1.316 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/1.355, allocations: 0.8399 MB / 1.316 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/1.359, allocations: 0.6252 MB / 1.317 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02858/1.387, allocations: 12.87 MB / 1.33 GB, free: 6.734 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009766/1.388, allocations: 1.182 MB / 1.331 GB, free: 6.016 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001977/1.39, allocations: 359.1 kB / 1.331 GB, free: 5.922 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000981/1.391, allocations: 0.5025 MB / 1.332 GB, free: 5.914 MB / 1.014 GB Notification: Performance of SimCode: time 1.202e-06/1.391, allocations: 0 / 1.332 GB, free: 5.914 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07432/1.466, allocations: 35.32 MB / 1.366 GB, free: 13.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/10.05, allocations: 14.28 kB / 1.366 GB, free: 13.68 MB / 1.045 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 50 --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