Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.00698/0.00698, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001236/0.001237, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.45/2.45, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001557, allocations: 71.89 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9581/0.9597, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2636/1.223, allocations: 193.8 MB / 1.277 GB, free: 11.92 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01057/1.234, allocations: 5.161 MB / 1.282 GB, free: 6.746 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001913/1.236, allocations: 43.69 kB / 1.282 GB, free: 6.703 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/1.238, allocations: 0.8081 MB / 1.283 GB, free: 5.891 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00803/1.247, allocations: 2.594 MB / 1.285 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003316/1.25, allocations: 1.114 MB / 1.286 GB, free: 2.18 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004228/1.254, allocations: 2.617 MB / 1.289 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/1.256, allocations: 0.8961 MB / 1.29 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/1.259, allocations: 1.086 MB / 1.291 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/1.261, allocations: 0.9379 MB / 1.292 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004028/1.261, allocations: 80 kB / 1.292 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004211/1.265, allocations: 1.785 MB / 1.294 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007813/1.266, allocations: 442.6 kB / 1.294 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/1.267, allocations: 0.637 MB / 1.295 GB, free: 9.672 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004919/1.272, allocations: 2.15 MB / 1.297 GB, free: 7.516 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.272, allocations: 0 / 1.297 GB, free: 7.516 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/1.272, allocations: 0 / 1.297 GB, free: 7.516 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.106e-05/1.272, allocations: 0 / 1.297 GB, free: 7.516 MB / 1.029 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.006568/1.279, allocations: 1.934 MB / 1.299 GB, free: 5.527 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.279, allocations: 8.031 kB / 1.299 GB, free: 5.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003014/1.279, allocations: 139.5 kB / 1.299 GB, free: 5.375 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/1.284, allocations: 0.6576 MB / 1.299 GB, free: 4.715 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/1.286, allocations: 0.9526 MB / 1.3 GB, free: 3.703 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/1.286, allocations: 70 kB / 1.3 GB, free: 3.637 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/1.286, allocations: 84 kB / 1.3 GB, free: 3.555 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/1.29, allocations: 1.47 MB / 1.302 GB, free: 2.008 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/1.29, allocations: 3.938 kB / 1.302 GB, free: 2.004 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.29, allocations: 35.98 kB / 1.302 GB, free: 1.969 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.445e-05/1.29, allocations: 49.98 kB / 1.302 GB, free: 1.922 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004566/1.295, allocations: 1.522 MB / 1.303 GB, free: 404 kB / 1.029 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.008983/1.304, allocations: 5.468 MB / 1.309 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004148/1.308, allocations: 1.284 MB / 1.31 GB, free: 9.348 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/1.31, allocations: 0.6546 MB / 1.311 GB, free: 8.691 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000965/1.311, allocations: 0.5851 MB / 1.311 GB, free: 7.996 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002069/1.313, allocations: 0.7068 MB / 1.312 GB, free: 7.273 MB / 1.045 GB Notification: Performance of pre-optimization done (n=80): time 5.3e-06/1.313, allocations: 0 / 1.312 GB, free: 7.273 MB / 1.045 GB Notification: Performance of matching and sorting (n=80): time 0.006289/1.319, allocations: 1.886 MB / 1.314 GB, free: 5.379 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/1.319, allocations: 60.06 kB / 1.314 GB, free: 5.309 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/1.321, allocations: 1.243 MB / 1.315 GB, free: 4.059 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001675/1.322, allocations: 41.7 kB / 1.315 GB, free: 4.012 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000545/1.322, allocations: 0.5791 MB / 1.316 GB, free: 3.426 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/1.322, allocations: 276.1 kB / 1.316 GB, free: 3.152 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/1.323, allocations: 186.5 kB / 1.316 GB, free: 2.961 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.323, allocations: 337.9 kB / 1.316 GB, free: 2.625 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/1.325, allocations: 0.5367 MB / 1.317 GB, free: 2.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/1.327, allocations: 0.8252 MB / 1.318 GB, free: 1.152 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003669/1.331, allocations: 1.324 MB / 1.319 GB, free: 15.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.331, allocations: 4 kB / 1.319 GB, free: 15.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004453/1.335, allocations: 1.495 MB / 1.32 GB, free: 14.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/1.335, allocations: 8 kB / 1.32 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.335, allocations: 8 kB / 1.32 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.351e-05/1.335, allocations: 12 kB / 1.32 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.337, allocations: 296.2 kB / 1.321 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.87e-05/1.337, allocations: 19.92 kB / 1.321 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.338, allocations: 194.8 kB / 1.321 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/1.339, allocations: 47.98 kB / 1.321 GB, free: 13.64 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0007919/1.339, allocations: 339.7 kB / 1.321 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004085/1.34, allocations: 134.2 kB / 1.321 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00444/1.344, allocations: 1.412 MB / 1.323 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.344, allocations: 12 kB / 1.323 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.344, allocations: 4 kB / 1.323 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/1.344, allocations: 3.984 kB / 1.323 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006914/1.351, allocations: 2.799 MB / 1.326 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/1.351, allocations: 7.969 kB / 1.326 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.353, allocations: 223.7 kB / 1.326 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/1.353, allocations: 7.984 kB / 1.326 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/1.353, allocations: 31.97 kB / 1.326 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/1.353, allocations: 11.94 kB / 1.326 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.353, allocations: 4 kB / 1.326 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006176/1.359, allocations: 2.244 MB / 1.328 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008774/1.36, allocations: 299.2 kB / 1.328 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/1.36, allocations: 20 kB / 1.328 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/1.362, allocations: 111.9 kB / 1.328 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/1.362, allocations: 64.38 kB / 1.329 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.362, allocations: 40.06 kB / 1.329 GB, free: 5.691 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00142/1.363, allocations: 0.86 MB / 1.329 GB, free: 4.828 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.21e-07/1.363, allocations: 0 / 1.329 GB, free: 4.828 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001287/1.365, allocations: 311.6 kB / 1.33 GB, free: 4.523 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.007777/1.373, allocations: 3.224 MB / 1.333 GB, free: 1.395 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00412/1.377, allocations: 1.29 MB / 1.334 GB, free: 108 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.377, allocations: 4 kB / 1.334 GB, free: 104 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/1.379, allocations: 0.6404 MB / 1.335 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/1.382, allocations: 0.599 MB / 1.335 GB, free: 14.87 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/1.406, allocations: 10.93 MB / 1.346 GB, free: 3.523 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009528/1.407, allocations: 1.174 MB / 1.347 GB, free: 2.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001372/1.408, allocations: 341.9 kB / 1.347 GB, free: 1.984 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008132/1.409, allocations: 0.4953 MB / 1.348 GB, free: 1.488 MB / 1.076 GB Notification: Performance of SimCode: time 1.042e-06/1.409, allocations: 0 / 1.348 GB, free: 1.488 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07231/1.481, allocations: 33.92 MB / 1.381 GB, free: 16 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.43, allocations: 10.69 kB / 1.381 GB, free: 8 kB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_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_X_wSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches