Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.008291/0.008291, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001846/0.001846, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.273/2.273, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9751/0.9765, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2614/1.238, allocations: 193.8 MB / 1.277 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00954/1.248, allocations: 5.162 MB / 1.282 GB, free: 6.715 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/1.249, allocations: 43.69 kB / 1.282 GB, free: 6.672 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/1.251, allocations: 0.8237 MB / 1.283 GB, free: 5.844 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006903/1.258, allocations: 2.688 MB / 1.285 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003093/1.261, allocations: 1.11 MB / 1.286 GB, free: 2.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003847/1.265, allocations: 2.695 MB / 1.289 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/1.267, allocations: 0.9483 MB / 1.29 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/1.269, allocations: 1.144 MB / 1.291 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/1.271, allocations: 0.9924 MB / 1.292 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002561/1.271, allocations: 84 kB / 1.292 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004198/1.276, allocations: 1.804 MB / 1.294 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005395/1.276, allocations: 454.6 kB / 1.294 GB, free: 9.895 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009792/1.277, allocations: 0.6643 MB / 1.295 GB, free: 9.227 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004714/1.282, allocations: 2.218 MB / 1.297 GB, free: 7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.282, allocations: 0 / 1.297 GB, free: 7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/1.282, allocations: 0 / 1.297 GB, free: 7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.765e-05/1.282, allocations: 0 / 1.297 GB, free: 7 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005506/1.287, allocations: 2.01 MB / 1.299 GB, free: 4.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.288, allocations: 8.031 kB / 1.299 GB, free: 4.922 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/1.288, allocations: 139.6 kB / 1.299 GB, free: 4.777 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005621/1.293, allocations: 0.9002 MB / 1.3 GB, free: 3.875 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/1.295, allocations: 0.9811 MB / 1.301 GB, free: 2.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/1.295, allocations: 77.97 kB / 1.301 GB, free: 2.762 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/1.296, allocations: 91.94 kB / 1.301 GB, free: 2.672 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/1.299, allocations: 1.579 MB / 1.303 GB, free: 1.062 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/1.299, allocations: 4 kB / 1.303 GB, free: 1.059 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.3, allocations: 36 kB / 1.303 GB, free: 1.023 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-05/1.3, allocations: 49.98 kB / 1.303 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005412/1.305, allocations: 1.85 MB / 1.305 GB, free: 15.12 MB / 1.045 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.008825/1.314, allocations: 4.72 MB / 1.309 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004741/1.319, allocations: 1.579 MB / 1.311 GB, free: 8.574 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00245/1.321, allocations: 0.8398 MB / 1.312 GB, free: 7.727 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/1.323, allocations: 0.9607 MB / 1.313 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002539/1.325, allocations: 0.9066 MB / 1.313 GB, free: 5.664 MB / 1.045 GB Notification: Performance of pre-optimization done (n=95): time 4.739e-06/1.325, allocations: 0 / 1.313 GB, free: 5.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=95): time 0.008016/1.333, allocations: 2.463 MB / 1.316 GB, free: 3.195 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/1.333, allocations: 60.41 kB / 1.316 GB, free: 3.125 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/1.335, allocations: 1.193 MB / 1.317 GB, free: 1.922 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/1.335, allocations: 49.7 kB / 1.317 GB, free: 1.867 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/1.335, allocations: 0.5492 MB / 1.318 GB, free: 1.312 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000361/1.336, allocations: 345.1 kB / 1.318 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/1.336, allocations: 186.6 kB / 1.318 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.336, allocations: 341.9 kB / 1.318 GB, free: 456 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/1.338, allocations: 0.7005 MB / 1.319 GB, free: 15.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/1.341, allocations: 0.9004 MB / 1.32 GB, free: 14.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004412/1.345, allocations: 1.569 MB / 1.322 GB, free: 13.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.443e-06/1.345, allocations: 0 / 1.322 GB, free: 13.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005298/1.351, allocations: 1.793 MB / 1.323 GB, free: 11.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/1.351, allocations: 8 kB / 1.323 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.351, allocations: 4 kB / 1.323 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/1.351, allocations: 8 kB / 1.323 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/1.352, allocations: 331.5 kB / 1.324 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/1.352, allocations: 19.92 kB / 1.324 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.354, allocations: 235 kB / 1.324 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.354, allocations: 47.97 kB / 1.324 GB, free: 10.71 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006636/1.355, allocations: 339.7 kB / 1.324 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/1.355, allocations: 139.1 kB / 1.324 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005209/1.36, allocations: 1.811 MB / 1.326 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/1.36, allocations: 12 kB / 1.326 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.36, allocations: 0 / 1.326 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/1.361, allocations: 3.984 kB / 1.326 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00767/1.368, allocations: 3.336 MB / 1.329 GB, free: 4.953 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.368, allocations: 4 kB / 1.329 GB, free: 4.949 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.37, allocations: 291.7 kB / 1.33 GB, free: 4.664 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/1.37, allocations: 4 kB / 1.33 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/1.37, allocations: 35.97 kB / 1.33 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/1.37, allocations: 7.938 kB / 1.33 GB, free: 4.617 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.37, allocations: 8 kB / 1.33 GB, free: 4.609 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007906/1.378, allocations: 2.856 MB / 1.333 GB, free: 1.688 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007823/1.379, allocations: 327.9 kB / 1.333 GB, free: 1.348 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/1.379, allocations: 32.05 kB / 1.333 GB, free: 1.316 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/1.381, allocations: 159.8 kB / 1.333 GB, free: 1.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/1.381, allocations: 64.52 kB / 1.333 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/1.381, allocations: 40.06 kB / 1.333 GB, free: 1.059 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001483/1.383, allocations: 0.8392 MB / 1.334 GB, free: 220 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.383, allocations: 0 / 1.334 GB, free: 220 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.001486/1.384, allocations: 331.8 kB / 1.334 GB, free: 15.89 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.009313/1.394, allocations: 3.846 MB / 1.338 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005019/1.399, allocations: 1.638 MB / 1.34 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.399, allocations: 4 kB / 1.34 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002474/1.401, allocations: 0.836 MB / 1.34 GB, free: 9.664 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/1.404, allocations: 0.611 MB / 1.341 GB, free: 9.062 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02697/1.431, allocations: 12.09 MB / 1.353 GB, free: 12.64 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009462/1.432, allocations: 1.183 MB / 1.354 GB, free: 11.43 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001574/1.434, allocations: 362 kB / 1.354 GB, free: 11.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009156/1.435, allocations: 0.5032 MB / 1.355 GB, free: 10.57 MB / 1.092 GB Notification: Performance of SimCode: time 1.072e-06/1.435, allocations: 0 / 1.355 GB, free: 10.57 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06533/1.5, allocations: 35.68 MB / 1.39 GB, free: 7.312 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.73, allocations: 3.094 kB / 1.39 GB, free: 7.312 MB / 1.123 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_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.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches