Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_11_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.001921/0.001921, allocations: 112.5 kB / 15.73 MB, free: 76 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.001998/0.001998, allocations: 192.2 kB / 16.67 MB, free: 6.574 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.891/2.891, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001954, allocations: 67.83 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3473, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.88/1.227, allocations: 193.8 MB / 1.409 GB, free: 13.24 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01015/1.238, allocations: 5.15 MB / 1.414 GB, free: 9.055 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/1.239, allocations: 47.38 kB / 1.415 GB, free: 9.035 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/1.242, allocations: 0.8099 MB / 1.415 GB, free: 8.43 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007136/1.249, allocations: 2.588 MB / 1.418 GB, free: 6.496 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003138/1.252, allocations: 1.111 MB / 1.419 GB, free: 5.668 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003949/1.256, allocations: 2.608 MB / 1.421 GB, free: 4.18 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/1.258, allocations: 0.8852 MB / 1.422 GB, free: 3.629 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/1.26, allocations: 1.083 MB / 1.423 GB, free: 3.023 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/1.262, allocations: 0.9532 MB / 1.424 GB, free: 2.488 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002323/1.262, allocations: 80.62 kB / 1.424 GB, free: 2.488 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003914/1.266, allocations: 1.792 MB / 1.426 GB, free: 1.488 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006603/1.267, allocations: 438.5 kB / 1.427 GB, free: 1.203 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/1.268, allocations: 0.6543 MB / 1.427 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004465/1.272, allocations: 2.166 MB / 1.429 GB, free: 15.28 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.272, allocations: 3.938 kB / 1.429 GB, free: 15.27 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.423e-06/1.272, allocations: 0 / 1.429 GB, free: 15.27 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.533e-05/1.272, allocations: 0 / 1.429 GB, free: 15.27 MB / 1.123 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.00548/1.278, allocations: 1.975 MB / 1.431 GB, free: 13.24 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/1.278, allocations: 12.02 kB / 1.431 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/1.278, allocations: 139.5 kB / 1.431 GB, free: 13.08 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/1.283, allocations: 0.713 MB / 1.432 GB, free: 12.37 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/1.285, allocations: 0.9693 MB / 1.433 GB, free: 11.34 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/1.285, allocations: 66.73 kB / 1.433 GB, free: 11.28 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/1.285, allocations: 88 kB / 1.433 GB, free: 11.19 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003761/1.289, allocations: 1.465 MB / 1.435 GB, free: 9.672 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/1.289, allocations: 0 / 1.435 GB, free: 9.672 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/1.289, allocations: 39.97 kB / 1.435 GB, free: 9.633 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.127e-05/1.289, allocations: 49.98 kB / 1.435 GB, free: 9.582 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004801/1.294, allocations: 1.561 MB / 1.436 GB, free: 8.02 MB / 1.123 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.008524/1.303, allocations: 5.035 MB / 1.441 GB, free: 2.727 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003856/1.306, allocations: 1.19 MB / 1.442 GB, free: 1.527 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/1.308, allocations: 0.6623 MB / 1.443 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/1.31, allocations: 0.9449 MB / 1.444 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002122/1.312, allocations: 0.7233 MB / 1.445 GB, free: 15 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 3.878e-06/1.312, allocations: 0 / 1.445 GB, free: 15 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.006574/1.319, allocations: 1.961 MB / 1.447 GB, free: 13.03 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/1.319, allocations: 64.06 kB / 1.447 GB, free: 12.95 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/1.321, allocations: 1.268 MB / 1.448 GB, free: 11.68 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/1.321, allocations: 45.7 kB / 1.448 GB, free: 11.63 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/1.321, allocations: 0.5763 MB / 1.448 GB, free: 11.05 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/1.322, allocations: 301.5 kB / 1.449 GB, free: 10.75 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/1.322, allocations: 178.6 kB / 1.449 GB, free: 10.57 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.322, allocations: 345.9 kB / 1.449 GB, free: 10.23 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/1.324, allocations: 0.5484 MB / 1.45 GB, free: 9.676 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/1.326, allocations: 0.8208 MB / 1.451 GB, free: 8.754 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/1.33, allocations: 1.344 MB / 1.452 GB, free: 7.32 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.33, allocations: 4 kB / 1.452 GB, free: 7.316 MB / 1.139 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004593/1.334, allocations: 1.525 MB / 1.453 GB, free: 5.781 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.335, allocations: 10.19 kB / 1.453 GB, free: 5.773 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.335, allocations: 4 kB / 1.453 GB, free: 5.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.335, allocations: 12 kB / 1.453 GB, free: 5.758 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.336, allocations: 295.8 kB / 1.454 GB, free: 5.469 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-05/1.336, allocations: 22.98 kB / 1.454 GB, free: 5.449 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.338, allocations: 203 kB / 1.454 GB, free: 5.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/1.338, allocations: 51.91 kB / 1.454 GB, free: 5.199 MB / 1.139 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.0006529/1.339, allocations: 340.7 kB / 1.454 GB, free: 4.859 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/1.339, allocations: 139.1 kB / 1.454 GB, free: 4.723 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004691/1.344, allocations: 1.444 MB / 1.456 GB, free: 3.27 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/1.344, allocations: 8 kB / 1.456 GB, free: 3.262 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.344, allocations: 4 kB / 1.456 GB, free: 3.258 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/1.344, allocations: 3.984 kB / 1.456 GB, free: 3.254 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007406/1.351, allocations: 2.865 MB / 1.459 GB, free: 284 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/1.351, allocations: 4.938 kB / 1.459 GB, free: 280 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/1.353, allocations: 228.2 kB / 1.459 GB, free: 52 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.539e-05/1.353, allocations: 8 kB / 1.459 GB, free: 44 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.353, allocations: 27.97 kB / 1.459 GB, free: 16 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/1.353, allocations: 8 kB / 1.459 GB, free: 8 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.353, allocations: 7.938 kB / 1.459 GB, free: 0 / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006874/1.36, allocations: 2.315 MB / 1.461 GB, free: 13.62 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/1.361, allocations: 311.9 kB / 1.461 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/1.361, allocations: 24.09 kB / 1.461 GB, free: 13.28 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.362, allocations: 115.8 kB / 1.462 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/1.363, allocations: 64.36 kB / 1.462 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/1.363, allocations: 35.98 kB / 1.462 GB, free: 13.07 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00156/1.364, allocations: 0.8762 MB / 1.463 GB, free: 12.19 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/1.364, allocations: 0 / 1.463 GB, free: 12.19 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001281/1.366, allocations: 319.7 kB / 1.463 GB, free: 11.88 MB / 1.154 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.009084/1.375, allocations: 3.298 MB / 1.466 GB, free: 8.676 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004377/1.379, allocations: 1.32 MB / 1.467 GB, free: 7.359 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.379, allocations: 0 / 1.467 GB, free: 7.359 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/1.381, allocations: 0.6638 MB / 1.468 GB, free: 6.699 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.385, allocations: 0.6176 MB / 1.469 GB, free: 6.094 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/1.411, allocations: 11.15 MB / 1.479 GB, free: 10.53 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.412, allocations: 1.163 MB / 1.481 GB, free: 9.34 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001506/1.414, allocations: 354.2 kB / 1.481 GB, free: 8.992 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.415, allocations: 499.2 kB / 1.481 GB, free: 8.504 MB / 1.17 GB Notification: Performance of SimCode: time 1.083e-06/1.415, allocations: 0 / 1.481 GB, free: 8.504 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1316/1.547, allocations: 35.01 MB / 1.516 GB, free: 5.934 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/12.45, allocations: 0 / 1.516 GB, free: 5.934 MB / 1.201 GB (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches