Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_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.0094/0.0094, allocations: 97.3 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.00209/0.00209, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.72 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.299, allocations: 140.4 MB / 1.088 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 1.051/1.35, allocations: 193.8 MB / 1.277 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01063/1.361, allocations: 5.151 MB / 1.282 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/1.362, allocations: 49.28 kB / 1.282 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002311/1.365, allocations: 0.822 MB / 1.283 GB, free: 3.027 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009262/1.374, allocations: 2.695 MB / 1.285 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004172/1.378, allocations: 1.111 MB / 1.286 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005196/1.383, allocations: 2.611 MB / 1.289 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/1.385, allocations: 0.8885 MB / 1.29 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/1.388, allocations: 1.114 MB / 1.291 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/1.389, allocations: 0.9626 MB / 1.292 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001661/1.39, allocations: 80.72 kB / 1.292 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004618/1.394, allocations: 1.798 MB / 1.294 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006866/1.395, allocations: 439.6 kB / 1.294 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009811/1.396, allocations: 0.6549 MB / 1.295 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005098/1.401, allocations: 2.171 MB / 1.297 GB, free: 2.496 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.401, allocations: 2.156 kB / 1.297 GB, free: 2.496 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.274e-06/1.401, allocations: 0 / 1.297 GB, free: 2.496 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.037e-05/1.401, allocations: 0.7188 kB / 1.297 GB, free: 2.496 MB / 1.014 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.006331/1.407, allocations: 1.988 MB / 1.299 GB, free: 1.492 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.407, allocations: 8.812 kB / 1.299 GB, free: 1.492 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/1.408, allocations: 136.6 kB / 1.299 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004965/1.413, allocations: 0.7168 MB / 1.3 GB, free: 1.367 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/1.415, allocations: 0.9626 MB / 1.301 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/1.415, allocations: 65.36 kB / 1.301 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/1.415, allocations: 86.69 kB / 1.301 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003527/1.419, allocations: 1.473 MB / 1.302 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/1.419, allocations: 2.062 kB / 1.302 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.419, allocations: 36.36 kB / 1.302 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.966e-05/1.419, allocations: 47.72 kB / 1.302 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004124/1.423, allocations: 1.562 MB / 1.304 GB, free: 0.7695 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.007154/1.43, allocations: 5.021 MB / 1.309 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/1.434, allocations: 1.184 MB / 1.31 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/1.436, allocations: 0.6668 MB / 1.31 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/1.437, allocations: 0.9396 MB / 1.311 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001918/1.439, allocations: 0.734 MB / 1.312 GB, free: 13.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 3.507e-06/1.439, allocations: 1.406 kB / 1.312 GB, free: 13.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=82): time 0.006413/1.445, allocations: 1.952 MB / 1.314 GB, free: 13.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/1.445, allocations: 67.06 kB / 1.314 GB, free: 13.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/1.447, allocations: 1.266 MB / 1.315 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/1.447, allocations: 42.89 kB / 1.315 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/1.448, allocations: 0.5797 MB / 1.316 GB, free: 12.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/1.448, allocations: 299.6 kB / 1.316 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/1.448, allocations: 183.4 kB / 1.316 GB, free: 12.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.449, allocations: 341.6 kB / 1.317 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/1.45, allocations: 0.549 MB / 1.317 GB, free: 12.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/1.452, allocations: 0.8183 MB / 1.318 GB, free: 11.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/1.456, allocations: 1.341 MB / 1.319 GB, free: 11.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.456, allocations: 8.5 kB / 1.319 GB, free: 11.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004099/1.46, allocations: 1.526 MB / 1.321 GB, free: 11.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.46, allocations: 9.469 kB / 1.321 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.46, allocations: 6.719 kB / 1.321 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/1.46, allocations: 14.59 kB / 1.321 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.461, allocations: 299.8 kB / 1.321 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/1.461, allocations: 17 kB / 1.321 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.463, allocations: 198.1 kB / 1.321 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/1.463, allocations: 50.22 kB / 1.321 GB, free: 11.28 MB / 1.029 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.0006647/1.464, allocations: 343.3 kB / 1.322 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/1.464, allocations: 144.9 kB / 1.322 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/1.468, allocations: 1.449 MB / 1.323 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.468, allocations: 7.781 kB / 1.323 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.468, allocations: 0 / 1.323 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/1.468, allocations: 6.938 kB / 1.323 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006026/1.474, allocations: 2.859 MB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/1.474, allocations: 6.781 kB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.475, allocations: 224.7 kB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/1.475, allocations: 11.62 kB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.254e-05/1.475, allocations: 26.45 kB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/1.475, allocations: 12.06 kB / 1.326 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.475, allocations: 11.66 kB / 1.326 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005408/1.481, allocations: 2.313 MB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/1.481, allocations: 312 kB / 1.329 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/1.482, allocations: 24.36 kB / 1.329 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.483, allocations: 111.8 kB / 1.329 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.483, allocations: 63.34 kB / 1.329 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.267e-05/1.483, allocations: 38.5 kB / 1.329 GB, free: 9.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001144/1.484, allocations: 0.876 MB / 1.33 GB, free: 9.727 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.484, allocations: 0 / 1.33 GB, free: 9.727 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00116/1.485, allocations: 317.8 kB / 1.33 GB, free: 9.707 MB / 1.029 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.006879/1.492, allocations: 3.286 MB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003704/1.496, allocations: 1.315 MB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.496, allocations: 2.438 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/1.498, allocations: 0.6547 MB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.501, allocations: 0.6335 MB / 1.336 GB, free: 8.477 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0234/1.524, allocations: 11.16 MB / 1.347 GB, free: 3.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009613/1.525, allocations: 1.172 MB / 1.348 GB, free: 2.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001617/1.527, allocations: 348 kB / 1.348 GB, free: 2.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009872/1.528, allocations: 0.4894 MB / 1.349 GB, free: 2.391 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/1.528, allocations: 0 / 1.349 GB, free: 2.391 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07674/1.605, allocations: 35 MB / 1.383 GB, free: 9.461 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11.76, allocations: 13.58 kB / 1.383 GB, free: 9.449 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches