Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.00155/0.00155, allocations: 108 kB / 15.61 MB, free: 152 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.001779/0.001779, allocations: 195 kB / 16.53 MB, free: 6.664 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.895/2.895, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 60.88 kB / 0.9082 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2918, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.8866/1.178, allocations: 193.8 MB / 1.253 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009918/1.188, allocations: 5.151 MB / 1.258 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/1.19, allocations: 49.19 kB / 1.258 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/1.192, allocations: 0.8082 MB / 1.259 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006698/1.199, allocations: 2.601 MB / 1.261 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/1.202, allocations: 1.107 MB / 1.262 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003273/1.205, allocations: 2.594 MB / 1.265 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/1.206, allocations: 0.8849 MB / 1.266 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/1.208, allocations: 1.077 MB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/1.21, allocations: 0.9534 MB / 1.268 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/1.21, allocations: 80.84 kB / 1.268 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/1.213, allocations: 1.784 MB / 1.27 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006287/1.214, allocations: 441.2 kB / 1.27 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009983/1.215, allocations: 0.6468 MB / 1.271 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004862/1.22, allocations: 2.14 MB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.22, allocations: 0.9062 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.452e-06/1.22, allocations: 0.9688 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.024e-05/1.22, allocations: 0.9062 kB / 1.273 GB, free: 4.207 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006313/1.226, allocations: 1.929 MB / 1.275 GB, free: 19.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.226, allocations: 10.31 kB / 1.275 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/1.227, allocations: 138.8 kB / 1.275 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005171/1.232, allocations: 0.7042 MB / 1.275 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/1.234, allocations: 0.8869 MB / 1.276 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/1.234, allocations: 71.08 kB / 1.276 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/1.235, allocations: 87.59 kB / 1.276 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004297/1.239, allocations: 1.471 MB / 1.278 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/1.239, allocations: 7.359 kB / 1.278 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/1.239, allocations: 34.41 kB / 1.278 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-05/1.239, allocations: 48.17 kB / 1.278 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004567/1.244, allocations: 1.559 MB / 1.28 GB, free: 18.57 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.007653/1.252, allocations: 5.039 MB / 1.284 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/1.255, allocations: 1.187 MB / 1.286 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/1.257, allocations: 0.672 MB / 1.286 GB, free: 16.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/1.259, allocations: 0.9365 MB / 1.287 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002164/1.261, allocations: 0.7293 MB / 1.288 GB, free: 15.03 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 4.619e-06/1.261, allocations: 0 / 1.288 GB, free: 15.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.00642/1.267, allocations: 1.952 MB / 1.29 GB, free: 14.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/1.267, allocations: 60.34 kB / 1.29 GB, free: 14.85 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/1.269, allocations: 1.273 MB / 1.291 GB, free: 14.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002755/1.27, allocations: 48.56 kB / 1.291 GB, free: 14.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/1.27, allocations: 0.5713 MB / 1.292 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/1.27, allocations: 278.8 kB / 1.292 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/1.271, allocations: 184.5 kB / 1.292 GB, free: 14.28 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.271, allocations: 339.6 kB / 1.292 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/1.273, allocations: 0.547 MB / 1.293 GB, free: 13.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/1.274, allocations: 0.8218 MB / 1.294 GB, free: 13.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/1.278, allocations: 1.337 MB / 1.295 GB, free: 13.44 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/1.278, allocations: 3.938 kB / 1.295 GB, free: 13.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004183/1.282, allocations: 1.519 MB / 1.297 GB, free: 13.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/1.282, allocations: 14.12 kB / 1.297 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.282, allocations: 7.438 kB / 1.297 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/1.282, allocations: 14.06 kB / 1.297 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/1.284, allocations: 293.5 kB / 1.297 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/1.284, allocations: 15.5 kB / 1.297 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.285, allocations: 205.2 kB / 1.297 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.285, allocations: 48.11 kB / 1.297 GB, free: 13.22 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0007134/1.286, allocations: 334.7 kB / 1.298 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/1.286, allocations: 135.4 kB / 1.298 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/1.29, allocations: 1.451 MB / 1.299 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.29, allocations: 8.922 kB / 1.299 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.29, allocations: 1.781 kB / 1.299 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/1.29, allocations: 9.469 kB / 1.299 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006212/1.297, allocations: 2.86 MB / 1.302 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.297, allocations: 3.781 kB / 1.302 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.298, allocations: 226.2 kB / 1.302 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/1.298, allocations: 12.64 kB / 1.302 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.981e-05/1.298, allocations: 30.94 kB / 1.302 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/1.298, allocations: 11.03 kB / 1.302 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.298, allocations: 7.594 kB / 1.302 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005366/1.303, allocations: 2.316 MB / 1.304 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006655/1.304, allocations: 299.5 kB / 1.305 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/1.304, allocations: 21.56 kB / 1.305 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.305, allocations: 109.3 kB / 1.305 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/1.306, allocations: 72.8 kB / 1.305 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/1.306, allocations: 33.16 kB / 1.305 GB, free: 11.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00102/1.307, allocations: 0.8744 MB / 1.306 GB, free: 11.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.307, allocations: 0 / 1.306 GB, free: 11.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001112/1.308, allocations: 316.5 kB / 1.306 GB, free: 11.68 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.006891/1.315, allocations: 3.285 MB / 1.309 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004025/1.319, allocations: 1.433 MB / 1.311 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.319, allocations: 8.562 kB / 1.311 GB, free: 10.58 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/1.32, allocations: 0.6575 MB / 1.311 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/1.324, allocations: 0.6237 MB / 1.312 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/1.345, allocations: 11.97 MB / 1.324 GB, free: 6.043 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/1.346, allocations: 1.171 MB / 1.325 GB, free: 5.328 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001806/1.347, allocations: 347.7 kB / 1.325 GB, free: 5.238 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007485/1.348, allocations: 0.4931 MB / 1.326 GB, free: 5.223 MB / 1.014 GB Notification: Performance of SimCode: time 9.52e-07/1.348, allocations: 0 / 1.326 GB, free: 5.223 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07511/1.423, allocations: 34.64 MB / 1.359 GB, free: 2.957 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/9.961, allocations: 5.656 kB / 1.359 GB, free: 2.953 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_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_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches