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.007716/0.007716, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001739/0.001739, allocations: 193.5 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.359/2.359, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 71.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8935/0.8949, allocations: 140.4 MB / 1.087 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2309/1.126, allocations: 193.8 MB / 1.277 GB, free: 11.89 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00907/1.135, allocations: 5.16 MB / 1.282 GB, free: 6.719 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/1.137, allocations: 47.69 kB / 1.282 GB, free: 6.672 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002245/1.139, allocations: 0.8198 MB / 1.283 GB, free: 5.848 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008052/1.147, allocations: 2.7 MB / 1.285 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/1.15, allocations: 1.101 MB / 1.286 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00454/1.155, allocations: 2.633 MB / 1.289 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/1.156, allocations: 0.8922 MB / 1.29 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/1.159, allocations: 1.117 MB / 1.291 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/1.161, allocations: 0.9495 MB / 1.292 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003976/1.161, allocations: 80 kB / 1.292 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/1.165, allocations: 1.789 MB / 1.294 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006031/1.166, allocations: 434.6 kB / 1.294 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001243/1.167, allocations: 0.6487 MB / 1.295 GB, free: 9.473 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004429/1.171, allocations: 2.164 MB / 1.297 GB, free: 7.301 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.171, allocations: 0 / 1.297 GB, free: 7.301 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/1.171, allocations: 0 / 1.297 GB, free: 7.301 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.363e-05/1.172, allocations: 0 / 1.297 GB, free: 7.301 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.005508/1.177, allocations: 1.975 MB / 1.299 GB, free: 5.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.177, allocations: 15.97 kB / 1.299 GB, free: 5.254 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/1.177, allocations: 139.5 kB / 1.299 GB, free: 5.109 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/1.182, allocations: 0.6623 MB / 1.3 GB, free: 4.445 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/1.184, allocations: 0.9615 MB / 1.3 GB, free: 3.426 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/1.184, allocations: 62 kB / 1.301 GB, free: 3.367 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/1.184, allocations: 95.94 kB / 1.301 GB, free: 3.273 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/1.187, allocations: 1.47 MB / 1.302 GB, free: 1.727 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/1.187, allocations: 7.938 kB / 1.302 GB, free: 1.719 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/1.188, allocations: 36 kB / 1.302 GB, free: 1.684 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/1.188, allocations: 53.97 kB / 1.302 GB, free: 1.633 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004244/1.192, allocations: 1.522 MB / 1.304 GB, free: 108 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.008131/1.2, allocations: 5.476 MB / 1.309 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/1.204, allocations: 1.268 MB / 1.31 GB, free: 9.066 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/1.206, allocations: 0.6585 MB / 1.311 GB, free: 8.406 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008475/1.206, allocations: 0.5812 MB / 1.311 GB, free: 7.715 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001956/1.208, allocations: 0.715 MB / 1.312 GB, free: 6.984 MB / 1.045 GB Notification: Performance of pre-optimization done (n=80): time 4.117e-06/1.208, allocations: 0 / 1.312 GB, free: 6.984 MB / 1.045 GB Notification: Performance of matching and sorting (n=80): time 0.005778/1.214, allocations: 1.886 MB / 1.314 GB, free: 5.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/1.214, allocations: 64 kB / 1.314 GB, free: 5.016 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/1.216, allocations: 1.239 MB / 1.315 GB, free: 3.77 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/1.216, allocations: 45.7 kB / 1.315 GB, free: 3.719 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/1.217, allocations: 0.58 MB / 1.316 GB, free: 3.133 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/1.217, allocations: 293.6 kB / 1.316 GB, free: 2.844 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/1.217, allocations: 182.6 kB / 1.316 GB, free: 2.656 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.217, allocations: 341.9 kB / 1.317 GB, free: 2.316 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/1.219, allocations: 0.5367 MB / 1.317 GB, free: 1.781 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/1.221, allocations: 0.8135 MB / 1.318 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/1.224, allocations: 1.336 MB / 1.319 GB, free: 15.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.224, allocations: 0 / 1.319 GB, free: 15.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004073/1.228, allocations: 1.504 MB / 1.321 GB, free: 13.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.228, allocations: 12.03 kB / 1.321 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.228, allocations: 11.94 kB / 1.321 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/1.228, allocations: 12 kB / 1.321 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.23, allocations: 291.6 kB / 1.321 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/1.23, allocations: 15.94 kB / 1.321 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.231, allocations: 203 kB / 1.321 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.232, allocations: 51.97 kB / 1.321 GB, free: 13.32 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.000578/1.232, allocations: 335.7 kB / 1.322 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/1.232, allocations: 143 kB / 1.322 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003985/1.236, allocations: 1.409 MB / 1.323 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.236, allocations: 8.094 kB / 1.323 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.236, allocations: 3.938 kB / 1.323 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/1.236, allocations: 3.984 kB / 1.323 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006027/1.242, allocations: 2.799 MB / 1.326 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.242, allocations: 11.92 kB / 1.326 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/1.244, allocations: 224.2 kB / 1.326 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/1.244, allocations: 12 kB / 1.326 GB, free: 8.262 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/1.244, allocations: 27.97 kB / 1.326 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/1.244, allocations: 15.92 kB / 1.326 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.244, allocations: 4 kB / 1.326 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/1.25, allocations: 2.253 MB / 1.328 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/1.25, allocations: 307.8 kB / 1.329 GB, free: 5.578 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/1.251, allocations: 31.92 kB / 1.329 GB, free: 5.547 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.252, allocations: 107.9 kB / 1.329 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/1.252, allocations: 60.42 kB / 1.329 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/1.252, allocations: 39.97 kB / 1.329 GB, free: 5.344 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001137/1.253, allocations: 0.8522 MB / 1.33 GB, free: 4.488 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.253, allocations: 0 / 1.33 GB, free: 4.488 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001093/1.254, allocations: 311.7 kB / 1.33 GB, free: 4.184 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.007193/1.261, allocations: 3.24 MB / 1.333 GB, free: 1.043 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004015/1.265, allocations: 1.29 MB / 1.334 GB, free: 15.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.266, allocations: 0 / 1.334 GB, free: 15.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/1.267, allocations: 0.6441 MB / 1.335 GB, free: 15.11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/1.271, allocations: 0.5883 MB / 1.336 GB, free: 14.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.291, allocations: 10.99 MB / 1.346 GB, free: 3.121 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007979/1.292, allocations: 1.171 MB / 1.348 GB, free: 1.918 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001221/1.293, allocations: 349.9 kB / 1.348 GB, free: 1.574 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007557/1.294, allocations: 499.2 kB / 1.348 GB, free: 1.086 MB / 1.076 GB Notification: Performance of SimCode: time 8.32e-07/1.294, allocations: 0 / 1.348 GB, free: 1.086 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07106/1.365, allocations: 33.92 MB / 1.381 GB, free: 15.61 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.7, allocations: 2.188 kB / 1.381 GB, free: 15.61 MB / 1.123 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