Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_10_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.001132/0.001132, 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.001364/0.001364, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437 MB / 0.7104 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 59.91 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7302/0.7324, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1983/0.9307, allocations: 193.8 MB / 1.207 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008091/0.9388, allocations: 5.138 MB / 1.212 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009645/0.9398, allocations: 47.69 kB / 1.212 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.9416, allocations: 0.8159 MB / 1.213 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005392/0.947, allocations: 2.59 MB / 1.215 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.9494, allocations: 1.106 MB / 1.216 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002655/0.9521, allocations: 2.598 MB / 1.219 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.9532, allocations: 0.8805 MB / 1.22 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.9547, allocations: 1.078 MB / 1.221 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.9558, allocations: 0.9611 MB / 1.222 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.9559, allocations: 80 kB / 1.222 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.9591, allocations: 1.781 MB / 1.223 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000408/0.9595, allocations: 446.5 kB / 1.224 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006207/0.9601, allocations: 0.6488 MB / 1.224 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00283/0.963, allocations: 2.134 MB / 1.227 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.963, allocations: 3.938 kB / 1.227 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/0.963, allocations: 0 / 1.227 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.963, allocations: 0 / 1.227 GB, free: 11.52 MB / 0.9825 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.004595/0.9676, allocations: 1.928 MB / 1.228 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.9677, allocations: 8.031 kB / 1.228 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.9679, allocations: 143.5 kB / 1.229 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00433/0.9722, allocations: 0.7083 MB / 1.229 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.9736, allocations: 0.8864 MB / 1.23 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.979e-05/0.9736, allocations: 73.98 kB / 1.23 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.9738, allocations: 87.94 kB / 1.23 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.9768, allocations: 1.461 MB / 1.232 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.9769, allocations: 3.938 kB / 1.232 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.977, allocations: 39.98 kB / 1.232 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.404e-05/0.977, allocations: 45.98 kB / 1.232 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/0.9812, allocations: 1.557 MB / 1.233 GB, free: 4.406 MB / 0.9825 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.006522/0.9877, allocations: 5.045 MB / 1.238 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/0.9911, allocations: 1.193 MB / 1.239 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.9928, allocations: 0.6623 MB / 1.24 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.9941, allocations: 0.9449 MB / 1.241 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002216/0.9964, allocations: 0.7225 MB / 1.242 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.577e-06/0.9964, allocations: 0 / 1.242 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.006137/1.003, allocations: 1.952 MB / 1.244 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/1.003, allocations: 60.06 kB / 1.244 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/1.004, allocations: 1.268 MB / 1.245 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.004, allocations: 41.7 kB / 1.245 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/1.005, allocations: 0.5716 MB / 1.245 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/1.005, allocations: 288 kB / 1.246 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003136/1.005, allocations: 178.5 kB / 1.246 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.005, allocations: 345.9 kB / 1.246 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/1.007, allocations: 0.5523 MB / 1.247 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/1.009, allocations: 0.8208 MB / 1.248 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/1.012, allocations: 1.34 MB / 1.249 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/1.012, allocations: 4 kB / 1.249 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004077/1.016, allocations: 1.51 MB / 1.25 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/1.016, allocations: 9.719 kB / 1.25 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.017, allocations: 8.812 kB / 1.25 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/1.017, allocations: 12 kB / 1.25 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/1.018, allocations: 295.5 kB / 1.251 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-05/1.018, allocations: 16.08 kB / 1.251 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.019, allocations: 210.5 kB / 1.251 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.02, allocations: 51.97 kB / 1.251 GB, free: 1.602 MB / 0.9981 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.000569/1.02, allocations: 339.6 kB / 1.251 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/1.02, allocations: 134.3 kB / 1.251 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.483/1.503, allocations: 1.436 MB / 1.253 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/1.503, allocations: 8.625 kB / 1.253 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.503, allocations: 0.5156 kB / 1.253 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-05/1.504, allocations: 8.672 kB / 1.253 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006646/1.51, allocations: 2.854 MB / 1.256 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.51, allocations: 8.328 kB / 1.256 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.512, allocations: 226.6 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/1.512, allocations: 6.656 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.113e-05/1.512, allocations: 28.98 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/1.512, allocations: 15.14 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.512, allocations: 4.344 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00627/1.518, allocations: 2.312 MB / 1.258 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000541/1.519, allocations: 301.2 kB / 1.258 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/1.519, allocations: 26.45 kB / 1.258 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.52, allocations: 109.1 kB / 1.259 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.52, allocations: 64.2 kB / 1.259 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.149e-05/1.52, allocations: 40.78 kB / 1.259 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001408/1.522, allocations: 0.8749 MB / 1.26 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.522, allocations: 0.5625 kB / 1.26 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001189/1.523, allocations: 321 kB / 1.26 GB, free: 232.1 MB / 0.9981 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.007835/1.531, allocations: 3.288 MB / 1.263 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004868/1.536, allocations: 1.433 MB / 1.264 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.536, allocations: 1.375 kB / 1.264 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/1.537, allocations: 0.6567 MB / 1.265 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/1.54, allocations: 0.626 MB / 1.266 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/1.564, allocations: 11.96 MB / 1.277 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000757/1.564, allocations: 1.17 MB / 1.278 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001787/1.566, allocations: 349.7 kB / 1.279 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/1.567, allocations: 495.8 kB / 1.279 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.567, allocations: 0 / 1.279 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05728/1.624, allocations: 34.64 MB / 1.313 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/9.966, allocations: 10.06 kB / 1.313 GB, free: 191.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches