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.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.001659/0.001659, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00198/0.00198, allocations: 217 kB / 23.05 MB, free: 5.074 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.802/2.802, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] 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_TSetOnly,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="cs",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.002017/0.002017, allocations: 63.84 kB / 1.118 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3361, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2335/0.5696, allocations: 197.8 MB / 1.477 GB, free: 5.152 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.5799, allocations: 5.294 MB / 1.483 GB, free: 15.85 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.5815, allocations: 71.31 kB / 1.483 GB, free: 15.78 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.5838, allocations: 0.8276 MB / 1.483 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00746/0.5912, allocations: 2.786 MB / 1.486 GB, free: 12.15 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.5943, allocations: 1.058 MB / 1.487 GB, free: 11.1 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004465/0.5987, allocations: 2.668 MB / 1.49 GB, free: 8.418 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.6004, allocations: 0.7174 MB / 1.49 GB, free: 7.688 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.603, allocations: 1.148 MB / 1.492 GB, free: 6.535 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.6049, allocations: 1.031 MB / 1.493 GB, free: 5.5 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.6052, allocations: 80 kB / 1.493 GB, free: 5.422 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.6093, allocations: 1.944 MB / 1.495 GB, free: 3.473 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007002/0.61, allocations: 470.3 kB / 1.495 GB, free: 3.012 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009843/0.611, allocations: 0.6487 MB / 1.496 GB, free: 2.359 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005383/0.6164, allocations: 2.195 MB / 1.498 GB, free: 160 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.6164, allocations: 0 / 1.498 GB, free: 160 kB / 1.186 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6164, allocations: 0 / 1.498 GB, free: 160 kB / 1.186 GB Notification: Performance of Transformations before backend: time 5.022e-05/0.6165, allocations: 0 / 1.498 GB, free: 160 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.00574/0.6222, allocations: 1.927 MB / 1.5 GB, free: 14.18 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.6222, allocations: 8.031 kB / 1.5 GB, free: 14.18 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.42e-05/0.6223, allocations: 22 kB / 1.5 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.6225, allocations: 139.4 kB / 1.5 GB, free: 14.01 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/0.6271, allocations: 0.7247 MB / 1.501 GB, free: 13.29 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.6292, allocations: 0.8862 MB / 1.501 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.6293, allocations: 65.98 kB / 1.501 GB, free: 12.28 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.6295, allocations: 95.88 kB / 1.502 GB, free: 12.19 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.633, allocations: 1.465 MB / 1.503 GB, free: 10.66 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.633, allocations: 4 kB / 1.503 GB, free: 10.66 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.6331, allocations: 35.98 kB / 1.503 GB, free: 10.62 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.791e-05/0.6332, allocations: 49.92 kB / 1.503 GB, free: 10.58 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004472/0.6377, allocations: 1.553 MB / 1.505 GB, free: 9.02 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.007451/0.6451, allocations: 4.984 MB / 1.509 GB, free: 3.789 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/0.6487, allocations: 1.141 MB / 1.511 GB, free: 2.637 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.6505, allocations: 0.6284 MB / 1.511 GB, free: 2.008 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009687/0.6515, allocations: 208.5 kB / 1.511 GB, free: 1.805 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002018/0.6535, allocations: 0.7263 MB / 1.512 GB, free: 1.062 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 2.866e-06/0.6535, allocations: 0 / 1.512 GB, free: 1.062 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.006331/0.6599, allocations: 1.957 MB / 1.514 GB, free: 15.1 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.6599, allocations: 64.06 kB / 1.514 GB, free: 15.02 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.6617, allocations: 1.297 MB / 1.515 GB, free: 13.7 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.6619, allocations: 49.69 kB / 1.515 GB, free: 13.65 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/0.6624, allocations: 0.5803 MB / 1.516 GB, free: 13.07 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.6628, allocations: 301.5 kB / 1.516 GB, free: 12.77 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003384/0.6631, allocations: 190.5 kB / 1.516 GB, free: 12.58 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.6633, allocations: 337.9 kB / 1.517 GB, free: 12.24 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.665, allocations: 0.5484 MB / 1.517 GB, free: 11.7 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.667, allocations: 0.8213 MB / 1.518 GB, free: 10.77 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003566/0.6706, allocations: 1.34 MB / 1.519 GB, free: 9.336 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.6706, allocations: 0 / 1.519 GB, free: 9.336 MB / 1.217 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004505/0.6751, allocations: 1.531 MB / 1.521 GB, free: 7.793 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.6751, allocations: 8 kB / 1.521 GB, free: 7.785 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.6751, allocations: 8 kB / 1.521 GB, free: 7.777 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.6751, allocations: 15.94 kB / 1.521 GB, free: 7.762 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.6766, allocations: 291.9 kB / 1.521 GB, free: 7.477 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/0.6766, allocations: 19.92 kB / 1.521 GB, free: 7.457 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.6781, allocations: 202.9 kB / 1.521 GB, free: 7.258 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.6783, allocations: 47.98 kB / 1.521 GB, free: 7.211 MB / 1.217 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.0006795/0.6789, allocations: 348.3 kB / 1.522 GB, free: 6.863 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.6792, allocations: 143.1 kB / 1.522 GB, free: 6.723 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004279/0.6835, allocations: 1.488 MB / 1.523 GB, free: 5.227 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.6835, allocations: 8 kB / 1.523 GB, free: 5.219 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.6835, allocations: 0 / 1.523 GB, free: 5.219 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.6835, allocations: 7.922 kB / 1.523 GB, free: 5.211 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006582/0.6901, allocations: 2.86 MB / 1.526 GB, free: 2.242 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.6901, allocations: 4 kB / 1.526 GB, free: 2.238 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.6914, allocations: 232.2 kB / 1.526 GB, free: 2.012 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.6914, allocations: 8.094 kB / 1.526 GB, free: 2.004 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.275e-05/0.6915, allocations: 35.84 kB / 1.526 GB, free: 1.969 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.6916, allocations: 11.98 kB / 1.526 GB, free: 1.957 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6916, allocations: 4 kB / 1.526 GB, free: 1.953 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006039/0.6976, allocations: 2.357 MB / 1.529 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/0.6983, allocations: 238.8 kB / 1.529 GB, free: 15.3 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.6985, allocations: 23.94 kB / 1.529 GB, free: 15.27 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.6996, allocations: 111.9 kB / 1.529 GB, free: 15.16 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.6998, allocations: 64.48 kB / 1.529 GB, free: 15.1 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.564e-05/0.6999, allocations: 39.91 kB / 1.529 GB, free: 15.06 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001281/0.7012, allocations: 0.8965 MB / 1.53 GB, free: 14.16 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7012, allocations: 0 / 1.53 GB, free: 14.16 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001187/0.7024, allocations: 323.7 kB / 1.53 GB, free: 13.85 MB / 1.232 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 (85): * Single equations (assignments): 79 * 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.008211/0.7106, allocations: 3.308 MB / 1.534 GB, free: 10.62 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004131/0.7147, allocations: 1.288 MB / 1.535 GB, free: 9.336 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.7147, allocations: 4.062 kB / 1.535 GB, free: 9.332 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.7167, allocations: 0.6329 MB / 1.536 GB, free: 8.699 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/0.7199, allocations: 0.6297 MB / 1.536 GB, free: 8.078 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/0.7434, allocations: 11.26 MB / 1.547 GB, free: 12.42 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009537/0.7443, allocations: 1.179 MB / 1.548 GB, free: 11.21 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001345/0.7457, allocations: 350.3 kB / 1.549 GB, free: 10.86 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008277/0.7465, allocations: 0.4954 MB / 1.549 GB, free: 10.37 MB / 1.248 GB Notification: Performance of SimCode: time 9.62e-07/0.7465, allocations: 0 / 1.549 GB, free: 10.37 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07864/0.8251, allocations: 36.26 MB / 1.585 GB, free: 6.543 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/18.18, allocations: 5.781 kB / 1.585 GB, free: 6.539 MB / 1.279 GB " [Timeout remaining time 281] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 25.185040329000913]