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.001711/0.001711, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00213/0.00213, allocations: 224.3 kB / 23.03 MB, free: 4.945 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.773/2.773, allocations: 476.8 MB / 0.7715 GB, free: 3.926 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_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.002015/0.002015, allocations: 66.8 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3682, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2251/0.5934, allocations: 171.3 MB / 1.451 GB, free: 14.84 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.6043, allocations: 5.007 MB / 1.456 GB, free: 9.824 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.606, allocations: 67.38 kB / 1.456 GB, free: 9.758 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.6085, allocations: 0.8042 MB / 1.457 GB, free: 8.949 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007687/0.6162, allocations: 2.719 MB / 1.46 GB, free: 6.219 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.6192, allocations: 1.045 MB / 1.461 GB, free: 5.176 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004141/0.6234, allocations: 2.664 MB / 1.463 GB, free: 2.5 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.6253, allocations: 0.7213 MB / 1.464 GB, free: 1.766 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003401/0.6287, allocations: 1.144 MB / 1.465 GB, free: 0.6172 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.6308, allocations: 1.039 MB / 1.466 GB, free: 15.57 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003764/0.6312, allocations: 84 kB / 1.466 GB, free: 15.49 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.6349, allocations: 1.504 MB / 1.468 GB, free: 13.98 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007453/0.6356, allocations: 458.5 kB / 1.468 GB, free: 13.54 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.6368, allocations: 0.5323 MB / 1.469 GB, free: 13 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004663/0.6415, allocations: 2.14 MB / 1.471 GB, free: 10.85 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6415, allocations: 0 / 1.471 GB, free: 10.85 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6415, allocations: 0 / 1.471 GB, free: 10.85 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.659e-05/0.6416, allocations: 0 / 1.471 GB, free: 10.85 MB / 1.17 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.006169/0.6477, allocations: 1.919 MB / 1.473 GB, free: 8.891 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.6478, allocations: 8.031 kB / 1.473 GB, free: 8.883 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.104e-05/0.6478, allocations: 26 kB / 1.473 GB, free: 8.859 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002813/0.6481, allocations: 139.4 kB / 1.473 GB, free: 8.715 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/0.6528, allocations: 0.7169 MB / 1.474 GB, free: 7.996 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.655, allocations: 0.8684 MB / 1.474 GB, free: 7.082 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.889e-05/0.6551, allocations: 73.98 kB / 1.474 GB, free: 7.008 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/0.6553, allocations: 84 kB / 1.475 GB, free: 6.926 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003833/0.6592, allocations: 1.469 MB / 1.476 GB, free: 5.402 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.6592, allocations: 3.938 kB / 1.476 GB, free: 5.398 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.6594, allocations: 39.97 kB / 1.476 GB, free: 5.359 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.667e-05/0.6594, allocations: 49.98 kB / 1.476 GB, free: 5.309 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004524/0.664, allocations: 1.569 MB / 1.478 GB, free: 3.738 MB / 1.17 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.008039/0.672, allocations: 4.283 MB / 1.482 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/0.6755, allocations: 1.153 MB / 1.483 GB, free: 14.16 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.6773, allocations: 0.6415 MB / 1.484 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.6783, allocations: 192.5 kB / 1.484 GB, free: 13.33 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/0.6803, allocations: 0.7303 MB / 1.484 GB, free: 12.59 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 3.276e-06/0.6803, allocations: 0 / 1.484 GB, free: 12.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.006325/0.6867, allocations: 1.992 MB / 1.486 GB, free: 10.59 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.6867, allocations: 64 kB / 1.486 GB, free: 10.51 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.6888, allocations: 1.324 MB / 1.488 GB, free: 9.168 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.6889, allocations: 45.7 kB / 1.488 GB, free: 9.117 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005818/0.6895, allocations: 0.592 MB / 1.488 GB, free: 8.52 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.6898, allocations: 297.5 kB / 1.489 GB, free: 8.227 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003886/0.6902, allocations: 186.6 kB / 1.489 GB, free: 8.039 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.6904, allocations: 341.9 kB / 1.489 GB, free: 7.699 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.6921, allocations: 0.5523 MB / 1.49 GB, free: 7.148 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.6941, allocations: 1.054 MB / 1.491 GB, free: 5.93 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003547/0.6977, allocations: 1.355 MB / 1.492 GB, free: 4.484 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.6977, allocations: 8 kB / 1.492 GB, free: 4.477 MB / 1.186 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004373/0.7021, allocations: 1.535 MB / 1.494 GB, free: 2.93 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.7021, allocations: 10.19 kB / 1.494 GB, free: 2.922 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.7021, allocations: 8 kB / 1.494 GB, free: 2.914 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.7022, allocations: 12 kB / 1.494 GB, free: 2.902 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.7036, allocations: 291.7 kB / 1.494 GB, free: 2.617 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.99e-05/0.7036, allocations: 23.98 kB / 1.494 GB, free: 2.594 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.7051, allocations: 202.9 kB / 1.494 GB, free: 2.395 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.7052, allocations: 51.97 kB / 1.494 GB, free: 2.344 MB / 1.186 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.0007001/0.7059, allocations: 344.5 kB / 1.494 GB, free: 2 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000344/0.7063, allocations: 147.1 kB / 1.495 GB, free: 1.855 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004347/0.7106, allocations: 1.515 MB / 1.496 GB, free: 340 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.7106, allocations: 12 kB / 1.496 GB, free: 328 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.7107, allocations: 0 / 1.496 GB, free: 328 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.7107, allocations: 7.922 kB / 1.496 GB, free: 320 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006787/0.7175, allocations: 2.763 MB / 1.499 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.7175, allocations: 7.984 kB / 1.499 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.7189, allocations: 236.2 kB / 1.499 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.371e-05/0.7189, allocations: 8 kB / 1.499 GB, free: 13.19 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.719, allocations: 27.97 kB / 1.499 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.719, allocations: 8 kB / 1.499 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/0.7191, allocations: 7.938 kB / 1.499 GB, free: 13.15 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006284/0.7253, allocations: 2.401 MB / 1.501 GB, free: 10.68 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007517/0.7261, allocations: 242.8 kB / 1.502 GB, free: 10.45 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.7264, allocations: 27.98 kB / 1.502 GB, free: 10.42 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.7277, allocations: 107.9 kB / 1.502 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.7279, allocations: 72.42 kB / 1.502 GB, free: 10.24 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/0.728, allocations: 35.97 kB / 1.502 GB, free: 10.21 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001462/0.7295, allocations: 0.9199 MB / 1.503 GB, free: 9.285 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.7295, allocations: 0 / 1.503 GB, free: 9.285 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001243/0.7307, allocations: 323.7 kB / 1.503 GB, free: 8.969 MB / 1.201 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 (88): * Single equations (assignments): 82 * 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.00854/0.7393, allocations: 3.379 MB / 1.506 GB, free: 5.699 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004095/0.7433, allocations: 1.299 MB / 1.508 GB, free: 4.402 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.7434, allocations: 256 / 1.508 GB, free: 4.402 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.7453, allocations: 0.6602 MB / 1.508 GB, free: 3.742 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/0.7488, allocations: 0.6201 MB / 1.509 GB, free: 3.133 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/0.7732, allocations: 11.31 MB / 1.52 GB, free: 7.418 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008449/0.774, allocations: 0.5949 MB / 1.521 GB, free: 6.789 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001502/0.7755, allocations: 346.2 kB / 1.521 GB, free: 6.449 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009263/0.7764, allocations: 0.4993 MB / 1.521 GB, free: 5.949 MB / 1.217 GB Notification: Performance of SimCode: time 1.563e-06/0.7764, allocations: 0 / 1.521 GB, free: 5.949 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08568/0.8621, allocations: 38.45 MB / 1.559 GB, free: 180 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/17.07, allocations: 6.656 kB / 1.559 GB, free: 176 kB / 1.248 GB " [Timeout remaining time 283] (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: 24.291859730961733]