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.001229/0.001229, allocations: 108 kB / 15.61 MB, free: 152 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.001232/0.001232, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.422/2.422, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 64.14 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6364/0.6378, allocations: 140.4 MB / 0.9497 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2021/0.84, allocations: 193.8 MB / 1.139 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008905/0.8489, allocations: 5.146 MB / 1.144 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.8502, allocations: 43.69 kB / 1.144 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.8521, allocations: 0.8081 MB / 1.145 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005759/0.8579, allocations: 2.606 MB / 1.147 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.8606, allocations: 1.104 MB / 1.148 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003229/0.8638, allocations: 2.61 MB / 1.151 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.8653, allocations: 0.8961 MB / 1.152 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.8674, allocations: 1.066 MB / 1.153 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.8689, allocations: 0.9612 MB / 1.154 GB, free: 160 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.8691, allocations: 76 kB / 1.154 GB, free: 84 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.8726, allocations: 1.777 MB / 1.156 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000515/0.8731, allocations: 430.6 kB / 1.156 GB, free: 13.88 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009566/0.8741, allocations: 0.6449 MB / 1.157 GB, free: 13.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003831/0.8779, allocations: 2.126 MB / 1.159 GB, free: 11.1 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.878, allocations: 4 kB / 1.159 GB, free: 11.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.878, allocations: 0 / 1.159 GB, free: 11.09 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.897e-05/0.878, allocations: 0 / 1.159 GB, free: 11.09 MB / 0.92 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.005373/0.8834, allocations: 1.93 MB / 1.161 GB, free: 9.105 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.8835, allocations: 12.03 kB / 1.161 GB, free: 9.094 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/0.8837, allocations: 135.4 kB / 1.161 GB, free: 8.953 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004187/0.8879, allocations: 0.6615 MB / 1.161 GB, free: 8.289 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.8901, allocations: 0.8825 MB / 1.162 GB, free: 7.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.8902, allocations: 65.98 kB / 1.162 GB, free: 7.285 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/0.8905, allocations: 88 kB / 1.162 GB, free: 7.199 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/0.8941, allocations: 1.47 MB / 1.164 GB, free: 5.652 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.8942, allocations: 7.938 kB / 1.164 GB, free: 5.645 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.8943, allocations: 39.98 kB / 1.164 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.271e-05/0.8944, allocations: 49.98 kB / 1.164 GB, free: 5.559 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004549/0.8989, allocations: 1.514 MB / 1.165 GB, free: 4.039 MB / 0.92 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.008681/0.9076, allocations: 5.499 MB / 1.171 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.9116, allocations: 1.279 MB / 1.172 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.9134, allocations: 0.6544 MB / 1.173 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009089/0.9143, allocations: 0.5812 MB / 1.173 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001989/0.9163, allocations: 0.7189 MB / 1.174 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 3.446e-06/0.9163, allocations: 0 / 1.174 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.00634/0.9227, allocations: 1.874 MB / 1.176 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.9227, allocations: 68.05 kB / 1.176 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.9246, allocations: 1.242 MB / 1.177 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.9248, allocations: 41.7 kB / 1.177 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/0.9253, allocations: 0.5676 MB / 1.178 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.9256, allocations: 284 kB / 1.178 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.9259, allocations: 178.5 kB / 1.178 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.9261, allocations: 341.9 kB / 1.178 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.9278, allocations: 0.5367 MB / 1.179 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.9297, allocations: 0.8289 MB / 1.18 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/0.9333, allocations: 1.328 MB / 1.181 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.9333, allocations: 4 kB / 1.181 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004254/0.9376, allocations: 1.491 MB / 1.183 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.9376, allocations: 12 kB / 1.183 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.9377, allocations: 4 kB / 1.183 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.9377, allocations: 12 kB / 1.183 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.9392, allocations: 296.2 kB / 1.183 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.9393, allocations: 19.94 kB / 1.183 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.9407, allocations: 198.7 kB / 1.183 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.9408, allocations: 51.97 kB / 1.183 GB, free: 1.262 MB / 0.9356 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.0006017/0.9415, allocations: 343.6 kB / 1.183 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.9417, allocations: 134.2 kB / 1.184 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004162/0.9459, allocations: 1.416 MB / 1.185 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.9459, allocations: 8 kB / 1.185 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.946, allocations: 96 / 1.185 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.946, allocations: 7.922 kB / 1.185 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006247/0.9522, allocations: 2.795 MB / 1.188 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.9523, allocations: 12 kB / 1.188 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.9536, allocations: 219.7 kB / 1.188 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.9536, allocations: 7.938 kB / 1.188 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.952e-05/0.9537, allocations: 27.97 kB / 1.188 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/0.9537, allocations: 8 kB / 1.188 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9537, allocations: 7.984 kB / 1.188 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005764/0.9595, allocations: 2.252 MB / 1.19 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00064/0.9601, allocations: 303.1 kB / 1.19 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.9604, allocations: 23.98 kB / 1.191 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.9616, allocations: 107.9 kB / 1.191 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.9618, allocations: 64.36 kB / 1.191 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.337e-05/0.9619, allocations: 39.92 kB / 1.191 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001176/0.9631, allocations: 0.8561 MB / 1.192 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9631, allocations: 0 / 1.192 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00125/0.9643, allocations: 315.6 kB / 1.192 GB, free: 8.129 MB / 0.9512 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.007413/0.9718, allocations: 3.219 MB / 1.195 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004262/0.976, allocations: 1.411 MB / 1.196 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.9761, allocations: 0 / 1.196 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.9779, allocations: 0.6404 MB / 1.197 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/0.9811, allocations: 0.5988 MB / 1.198 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/1.004, allocations: 11.75 MB / 1.209 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000877/1.005, allocations: 1.175 MB / 1.21 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001519/1.006, allocations: 345.9 kB / 1.211 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000772/1.007, allocations: 0.4914 MB / 1.211 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/1.007, allocations: 0 / 1.211 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06584/1.073, allocations: 33.56 MB / 1.244 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/9.433, allocations: 10.56 kB / 1.244 GB, free: 2.785 MB / 0.9981 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