Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 220.2 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.874/2.874, allocations: 476.8 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 69.58 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2601/0.6113, allocations: 197.8 MB / 1.477 GB, free: 5.141 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.6221, allocations: 5.29 MB / 1.482 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.6238, allocations: 67.38 kB / 1.482 GB, free: 15.78 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.6262, allocations: 0.8275 MB / 1.483 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00764/0.6339, allocations: 2.789 MB / 1.485 GB, free: 12.15 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.637, allocations: 1.062 MB / 1.486 GB, free: 11.09 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004356/0.6413, allocations: 2.68 MB / 1.489 GB, free: 8.395 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.643, allocations: 0.7213 MB / 1.49 GB, free: 7.66 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.6457, allocations: 1.14 MB / 1.491 GB, free: 6.516 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.6478, allocations: 1.02 MB / 1.492 GB, free: 5.492 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004073/0.6482, allocations: 80 kB / 1.492 GB, free: 5.414 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004819/0.6531, allocations: 1.944 MB / 1.494 GB, free: 3.465 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008517/0.6539, allocations: 450.4 kB / 1.494 GB, free: 3.023 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.6554, allocations: 0.6487 MB / 1.495 GB, free: 2.371 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005313/0.6607, allocations: 2.183 MB / 1.497 GB, free: 184 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.6607, allocations: 0 / 1.497 GB, free: 184 kB / 1.186 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6607, allocations: 0 / 1.497 GB, free: 184 kB / 1.186 GB Notification: Performance of Transformations before backend: time 6.725e-05/0.6608, allocations: 0 / 1.497 GB, free: 184 kB / 1.186 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.006203/0.667, allocations: 1.932 MB / 1.499 GB, free: 14.21 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.667, allocations: 8.031 kB / 1.499 GB, free: 14.2 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002762/0.6673, allocations: 139.5 kB / 1.499 GB, free: 14.05 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003968/0.6713, allocations: 0.6701 MB / 1.5 GB, free: 13.38 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.6735, allocations: 0.8783 MB / 1.501 GB, free: 12.45 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.077e-05/0.6736, allocations: 69.98 kB / 1.501 GB, free: 12.38 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.6738, allocations: 95.89 kB / 1.501 GB, free: 12.29 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/0.6773, allocations: 1.474 MB / 1.502 GB, free: 10.74 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.6774, allocations: 3.938 kB / 1.502 GB, free: 10.74 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.6775, allocations: 32 kB / 1.502 GB, free: 10.71 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/0.6776, allocations: 49.98 kB / 1.502 GB, free: 10.66 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004242/0.6818, allocations: 1.522 MB / 1.504 GB, free: 9.137 MB / 1.201 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.008737/0.6905, allocations: 5.441 MB / 1.509 GB, free: 3.418 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003851/0.6944, allocations: 1.247 MB / 1.51 GB, free: 2.16 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.6961, allocations: 0.6273 MB / 1.511 GB, free: 1.531 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/0.6968, allocations: 136.5 kB / 1.511 GB, free: 1.398 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00201/0.6988, allocations: 0.7029 MB / 1.512 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of pre-optimization done (n=80): time 4.067e-06/0.6988, allocations: 0 / 1.512 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of matching and sorting (n=80): time 0.005955/0.7048, allocations: 1.883 MB / 1.514 GB, free: 14.79 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.7048, allocations: 68.06 kB / 1.514 GB, free: 14.71 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.7069, allocations: 1.271 MB / 1.515 GB, free: 13.43 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.707, allocations: 41.7 kB / 1.515 GB, free: 13.38 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006183/0.7076, allocations: 0.5996 MB / 1.515 GB, free: 12.78 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.708, allocations: 281.6 kB / 1.516 GB, free: 12.5 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003419/0.7083, allocations: 190.5 kB / 1.516 GB, free: 12.31 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.7085, allocations: 345.9 kB / 1.516 GB, free: 11.96 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.7101, allocations: 0.5367 MB / 1.517 GB, free: 11.43 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.712, allocations: 0.8212 MB / 1.518 GB, free: 10.5 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/0.7154, allocations: 1.324 MB / 1.519 GB, free: 9.078 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.7155, allocations: 4 kB / 1.519 GB, free: 9.074 MB / 1.217 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004144/0.7196, allocations: 1.499 MB / 1.52 GB, free: 7.566 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.7196, allocations: 8 kB / 1.52 GB, free: 7.559 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.7196, allocations: 12 kB / 1.52 GB, free: 7.547 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.7197, allocations: 12 kB / 1.52 GB, free: 7.535 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.7211, allocations: 304.1 kB / 1.521 GB, free: 7.238 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.261e-05/0.7211, allocations: 15.94 kB / 1.521 GB, free: 7.223 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.7225, allocations: 203.1 kB / 1.521 GB, free: 7.023 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.7227, allocations: 51.97 kB / 1.521 GB, free: 6.973 MB / 1.217 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.0006091/0.7233, allocations: 331.4 kB / 1.521 GB, free: 6.641 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/0.7236, allocations: 147 kB / 1.521 GB, free: 6.496 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/0.7276, allocations: 1.448 MB / 1.523 GB, free: 5.039 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.7276, allocations: 12 kB / 1.523 GB, free: 5.027 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7276, allocations: 0 / 1.523 GB, free: 5.027 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.7276, allocations: 3.984 kB / 1.523 GB, free: 5.023 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006607/0.7343, allocations: 2.801 MB / 1.526 GB, free: 2.109 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.7343, allocations: 8.438 kB / 1.526 GB, free: 2.102 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.7356, allocations: 231.7 kB / 1.526 GB, free: 1.875 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.7356, allocations: 11.94 kB / 1.526 GB, free: 1.863 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-05/0.7357, allocations: 31.97 kB / 1.526 GB, free: 1.832 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-05/0.7357, allocations: 11.94 kB / 1.526 GB, free: 1.82 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7357, allocations: 4 kB / 1.526 GB, free: 1.816 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005799/0.7415, allocations: 2.282 MB / 1.528 GB, free: 15.47 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006968/0.7422, allocations: 234.8 kB / 1.528 GB, free: 15.24 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.7425, allocations: 20.09 kB / 1.528 GB, free: 15.22 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.7436, allocations: 115.9 kB / 1.528 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.7437, allocations: 68.42 kB / 1.528 GB, free: 15.04 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.26e-05/0.7438, allocations: 35.97 kB / 1.528 GB, free: 15.01 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001375/0.7452, allocations: 0.8764 MB / 1.529 GB, free: 14.13 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7452, allocations: 0 / 1.529 GB, free: 14.13 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001254/0.7465, allocations: 323.7 kB / 1.53 GB, free: 13.81 MB / 1.232 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 (83): * Single equations (assignments): 77 * 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.007804/0.7543, allocations: 3.253 MB / 1.533 GB, free: 10.64 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003773/0.758, allocations: 1.258 MB / 1.534 GB, free: 9.391 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.758, allocations: 0 / 1.534 GB, free: 9.391 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.7598, allocations: 0.6292 MB / 1.535 GB, free: 8.762 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.7628, allocations: 0.5927 MB / 1.535 GB, free: 8.176 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/0.7861, allocations: 11.08 MB / 1.546 GB, free: 12.68 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.7871, allocations: 1.182 MB / 1.547 GB, free: 11.46 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001358/0.7885, allocations: 346 kB / 1.548 GB, free: 11.12 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000916/0.7894, allocations: 0.4953 MB / 1.548 GB, free: 10.63 MB / 1.248 GB Notification: Performance of SimCode: time 1.413e-06/0.7894, allocations: 0 / 1.548 GB, free: 10.63 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0847/0.8741, allocations: 35.13 MB / 1.582 GB, free: 7.914 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/17.97, allocations: 2.203 kB / 1.582 GB, free: 7.914 MB / 1.279 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 25.048585777869448]