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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 111.8 kB / 18.13 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 198.2 kB / 21.43 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 250.2 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.654/2.654, allocations: 476.7 MB / 0.7637 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.89 kB / 1.108 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8435/0.8454, allocations: 168.7 MB / 1.273 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2217/1.067, allocations: 194.9 MB / 1.463 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009642/1.077, allocations: 5.185 MB / 1.468 GB, free: 11.53 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/1.078, allocations: 47.69 kB / 1.468 GB, free: 11.48 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/1.08, allocations: 0.8353 MB / 1.469 GB, free: 10.64 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00702/1.087, allocations: 2.692 MB / 1.472 GB, free: 7.938 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/1.091, allocations: 1.115 MB / 1.473 GB, free: 6.828 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00386/1.094, allocations: 2.633 MB / 1.475 GB, free: 4.188 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/1.096, allocations: 0.7166 MB / 1.476 GB, free: 3.457 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/1.098, allocations: 1.121 MB / 1.477 GB, free: 2.332 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/1.099, allocations: 1.019 MB / 1.478 GB, free: 1.309 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/1.1, allocations: 80 kB / 1.478 GB, free: 1.23 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/1.103, allocations: 1.898 MB / 1.48 GB, free: 15.33 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005533/1.104, allocations: 446.5 kB / 1.481 GB, free: 14.89 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008303/1.105, allocations: 0.6487 MB / 1.481 GB, free: 14.24 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003888/1.108, allocations: 2.152 MB / 1.483 GB, free: 12.08 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.108, allocations: 3.938 kB / 1.483 GB, free: 12.07 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.784e-06/1.108, allocations: 0 / 1.483 GB, free: 12.07 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.631e-05/1.108, allocations: 0 / 1.483 GB, free: 12.07 MB / 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.005417/1.114, allocations: 1.971 MB / 1.485 GB, free: 10.04 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/1.114, allocations: 16.03 kB / 1.485 GB, free: 10.03 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/1.114, allocations: 131.5 kB / 1.485 GB, free: 9.891 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/1.118, allocations: 0.6701 MB / 1.486 GB, free: 9.219 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/1.12, allocations: 0.9576 MB / 1.487 GB, free: 8.207 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/1.12, allocations: 69.98 kB / 1.487 GB, free: 8.137 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/1.12, allocations: 87.98 kB / 1.487 GB, free: 8.051 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/1.124, allocations: 1.47 MB / 1.489 GB, free: 6.508 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/1.124, allocations: 7.938 kB / 1.489 GB, free: 6.5 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.124, allocations: 32 kB / 1.489 GB, free: 6.469 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.97e-05/1.124, allocations: 49.98 kB / 1.489 GB, free: 6.418 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004189/1.128, allocations: 1.53 MB / 1.49 GB, free: 4.891 MB / 1.186 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.008358/1.137, allocations: 5.48 MB / 1.495 GB, free: 15.13 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/1.14, allocations: 1.241 MB / 1.497 GB, free: 13.88 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/1.142, allocations: 0.6231 MB / 1.497 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009327/1.143, allocations: 0.5773 MB / 1.498 GB, free: 12.56 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001971/1.145, allocations: 0.7188 MB / 1.499 GB, free: 11.83 MB / 1.201 GB Notification: Performance of pre-optimization done (n=80): time 3.446e-06/1.145, allocations: 0 / 1.499 GB, free: 11.83 MB / 1.201 GB Notification: Performance of matching and sorting (n=80): time 0.006051/1.151, allocations: 1.89 MB / 1.5 GB, free: 9.934 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/1.151, allocations: 60.06 kB / 1.5 GB, free: 9.863 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/1.153, allocations: 1.235 MB / 1.502 GB, free: 8.621 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.153, allocations: 45.7 kB / 1.502 GB, free: 8.57 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/1.154, allocations: 0.5916 MB / 1.502 GB, free: 7.973 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/1.154, allocations: 289.5 kB / 1.503 GB, free: 7.688 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/1.154, allocations: 182.6 kB / 1.503 GB, free: 7.504 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.154, allocations: 341.9 kB / 1.503 GB, free: 7.164 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/1.156, allocations: 0.5367 MB / 1.504 GB, free: 6.629 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/1.158, allocations: 0.8252 MB / 1.504 GB, free: 5.695 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/1.161, allocations: 1.321 MB / 1.506 GB, free: 4.27 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.161, allocations: 4 kB / 1.506 GB, free: 4.266 MB / 1.201 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004376/1.166, allocations: 1.499 MB / 1.507 GB, free: 2.758 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/1.166, allocations: 11.98 kB / 1.507 GB, free: 2.746 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.166, allocations: 8 kB / 1.507 GB, free: 2.738 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.955e-05/1.166, allocations: 15.98 kB / 1.507 GB, free: 2.723 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/1.167, allocations: 296 kB / 1.507 GB, free: 2.434 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/1.167, allocations: 15.94 kB / 1.507 GB, free: 2.418 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.169, allocations: 207 kB / 1.508 GB, free: 2.215 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.169, allocations: 51.97 kB / 1.508 GB, free: 2.164 MB / 1.201 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.0006313/1.169, allocations: 339.7 kB / 1.508 GB, free: 1.824 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/1.17, allocations: 143 kB / 1.508 GB, free: 1.684 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/1.174, allocations: 1.44 MB / 1.51 GB, free: 240 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/1.174, allocations: 8 kB / 1.51 GB, free: 232 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.174, allocations: 4 kB / 1.51 GB, free: 228 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.174, allocations: 3.984 kB / 1.51 GB, free: 224 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006198/1.18, allocations: 2.819 MB / 1.512 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.18, allocations: 7.938 kB / 1.512 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/1.181, allocations: 228.2 kB / 1.513 GB, free: 13.06 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/1.181, allocations: 8 kB / 1.513 GB, free: 13.05 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.148e-05/1.181, allocations: 27.97 kB / 1.513 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/1.181, allocations: 7.938 kB / 1.513 GB, free: 13.02 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/1.181, allocations: 4 kB / 1.513 GB, free: 13.02 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005719/1.187, allocations: 2.281 MB / 1.515 GB, free: 10.68 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/1.188, allocations: 315.8 kB / 1.515 GB, free: 10.35 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/1.188, allocations: 23.98 kB / 1.515 GB, free: 10.32 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.189, allocations: 111.9 kB / 1.515 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/1.189, allocations: 60.42 kB / 1.515 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.107e-05/1.189, allocations: 35.97 kB / 1.515 GB, free: 10.12 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00108/1.19, allocations: 0.8522 MB / 1.516 GB, free: 9.266 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.19, allocations: 4 kB / 1.516 GB, free: 9.262 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000987/1.191, allocations: 323.7 kB / 1.517 GB, free: 8.945 MB / 1.217 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.007733/1.199, allocations: 3.257 MB / 1.52 GB, free: 5.789 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003793/1.203, allocations: 1.273 MB / 1.521 GB, free: 4.52 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.203, allocations: 0 / 1.521 GB, free: 4.52 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/1.205, allocations: 0.617 MB / 1.522 GB, free: 3.902 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/1.207, allocations: 0.6076 MB / 1.522 GB, free: 3.305 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/1.228, allocations: 10.99 MB / 1.533 GB, free: 7.895 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008729/1.229, allocations: 1.171 MB / 1.534 GB, free: 6.691 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001257/1.231, allocations: 353.9 kB / 1.534 GB, free: 6.344 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/1.231, allocations: 499.2 kB / 1.535 GB, free: 5.855 MB / 1.232 GB Notification: Performance of SimCode: time 1.142e-06/1.231, allocations: 0 / 1.535 GB, free: 5.855 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07897/1.31, allocations: 34.32 MB / 1.568 GB, free: 3.895 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.95, allocations: 8.031 kB / 1.568 GB, free: 3.891 MB / 1.264 GB " [Timeout remaining time 285] (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_2/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: 21.077805212698877]