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.001793/0.001793, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.002184/0.002184, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.916/2.916, allocations: 476.7 MB / 0.7678 GB, free: 9.348 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.002323/0.002323, allocations: 63.91 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2941/1.329, allocations: 197.5 MB / 1.472 GB, free: 6.359 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01172/1.341, allocations: 5.258 MB / 1.477 GB, free: 1.094 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/1.343, allocations: 67.38 kB / 1.477 GB, free: 1.027 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002599/1.346, allocations: 0.8353 MB / 1.478 GB, free: 192 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008748/1.354, allocations: 2.746 MB / 1.481 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003459/1.358, allocations: 1.006 MB / 1.482 GB, free: 12.43 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005051/1.363, allocations: 2.66 MB / 1.484 GB, free: 9.762 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/1.365, allocations: 0.7791 MB / 1.485 GB, free: 8.969 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/1.368, allocations: 1.137 MB / 1.486 GB, free: 7.828 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/1.37, allocations: 1.019 MB / 1.487 GB, free: 6.805 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003812/1.37, allocations: 80 kB / 1.487 GB, free: 6.727 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004417/1.375, allocations: 1.909 MB / 1.489 GB, free: 4.812 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008085/1.376, allocations: 446.4 kB / 1.489 GB, free: 4.375 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001402/1.377, allocations: 0.6448 MB / 1.49 GB, free: 3.727 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005675/1.383, allocations: 2.183 MB / 1.492 GB, free: 1.535 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/1.383, allocations: 0 / 1.492 GB, free: 1.535 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.294e-06/1.383, allocations: 0 / 1.492 GB, free: 1.535 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.217e-05/1.383, allocations: 0 / 1.492 GB, free: 1.535 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.006814/1.389, allocations: 1.994 MB / 1.494 GB, free: 15.48 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/1.39, allocations: 12.03 kB / 1.494 GB, free: 15.47 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.278e-05/1.39, allocations: 22 kB / 1.494 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003361/1.39, allocations: 143.5 kB / 1.494 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004342/1.394, allocations: 0.6778 MB / 1.495 GB, free: 14.62 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/1.397, allocations: 0.9582 MB / 1.496 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.397, allocations: 77.97 kB / 1.496 GB, free: 13.53 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/1.397, allocations: 80 kB / 1.496 GB, free: 13.45 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/1.401, allocations: 1.47 MB / 1.497 GB, free: 11.91 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/1.401, allocations: 7.938 kB / 1.497 GB, free: 11.9 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/1.401, allocations: 35.98 kB / 1.497 GB, free: 11.86 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.916e-05/1.401, allocations: 49.98 kB / 1.497 GB, free: 11.82 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00491/1.406, allocations: 1.522 MB / 1.499 GB, free: 10.29 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.009935/1.416, allocations: 5.508 MB / 1.504 GB, free: 4.492 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004319/1.421, allocations: 1.238 MB / 1.506 GB, free: 3.25 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/1.423, allocations: 0.6249 MB / 1.506 GB, free: 2.621 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/1.424, allocations: 0.5812 MB / 1.507 GB, free: 1.93 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002292/1.426, allocations: 0.7147 MB / 1.507 GB, free: 1.203 MB / 1.186 GB Notification: Performance of pre-optimization done (n=80): time 3.948e-06/1.426, allocations: 4 kB / 1.507 GB, free: 1.199 MB / 1.186 GB Notification: Performance of matching and sorting (n=80): time 0.006677/1.433, allocations: 1.879 MB / 1.509 GB, free: 15.31 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/1.433, allocations: 64.05 kB / 1.509 GB, free: 15.24 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/1.435, allocations: 1.264 MB / 1.511 GB, free: 13.96 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000203/1.435, allocations: 45.7 kB / 1.511 GB, free: 13.91 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006803/1.436, allocations: 0.5919 MB / 1.511 GB, free: 13.32 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004484/1.436, allocations: 289.6 kB / 1.511 GB, free: 13.03 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004239/1.437, allocations: 182.5 kB / 1.512 GB, free: 12.85 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.437, allocations: 345.9 kB / 1.512 GB, free: 12.5 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/1.439, allocations: 0.5327 MB / 1.512 GB, free: 11.97 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/1.441, allocations: 0.8289 MB / 1.513 GB, free: 11.04 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/1.445, allocations: 1.324 MB / 1.515 GB, free: 9.605 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.445, allocations: 4 kB / 1.515 GB, free: 9.602 MB / 1.201 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004751/1.45, allocations: 1.503 MB / 1.516 GB, free: 8.09 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/1.45, allocations: 12.81 kB / 1.516 GB, free: 8.078 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/1.45, allocations: 8 kB / 1.516 GB, free: 8.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.832e-05/1.45, allocations: 19.98 kB / 1.516 GB, free: 8.051 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.451, allocations: 291.5 kB / 1.516 GB, free: 7.766 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.574e-05/1.451, allocations: 15.94 kB / 1.516 GB, free: 7.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.453, allocations: 203 kB / 1.517 GB, free: 7.551 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/1.453, allocations: 55.95 kB / 1.517 GB, free: 7.496 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.0007923/1.454, allocations: 335.7 kB / 1.517 GB, free: 7.16 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/1.454, allocations: 143 kB / 1.517 GB, free: 7.02 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004663/1.459, allocations: 1.409 MB / 1.518 GB, free: 5.602 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/1.459, allocations: 8 kB / 1.518 GB, free: 5.594 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.459, allocations: 4 kB / 1.518 GB, free: 5.59 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/1.459, allocations: 7.984 kB / 1.518 GB, free: 5.582 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007542/1.467, allocations: 2.819 MB / 1.521 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.467, allocations: 4 kB / 1.521 GB, free: 2.648 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.468, allocations: 219.9 kB / 1.521 GB, free: 2.434 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/1.468, allocations: 8 kB / 1.521 GB, free: 2.426 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/1.468, allocations: 23.98 kB / 1.521 GB, free: 2.402 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.66e-05/1.468, allocations: 19.92 kB / 1.522 GB, free: 2.383 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.468, allocations: 4 kB / 1.522 GB, free: 2.379 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0067/1.475, allocations: 2.26 MB / 1.524 GB, free: 56 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008427/1.476, allocations: 304 kB / 1.524 GB, free: 15.74 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/1.476, allocations: 27.98 kB / 1.524 GB, free: 15.71 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.477, allocations: 103.9 kB / 1.524 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/1.478, allocations: 72.36 kB / 1.524 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.478, allocations: 35.97 kB / 1.524 GB, free: 15.5 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00172/1.48, allocations: 0.8686 MB / 1.525 GB, free: 14.63 MB / 1.217 GB Notification: Performance of sort global known variables: time 4.11e-07/1.48, allocations: 0 / 1.525 GB, free: 14.63 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001591/1.481, allocations: 323.7 kB / 1.525 GB, free: 14.32 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 (80): * Single equations (assignments): 74 * 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.008717/1.49, allocations: 3.223 MB / 1.529 GB, free: 11.17 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004254/1.494, allocations: 1.259 MB / 1.53 GB, free: 9.91 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.494, allocations: 0 / 1.53 GB, free: 9.91 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/1.496, allocations: 0.613 MB / 1.53 GB, free: 9.297 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/1.5, allocations: 0.584 MB / 1.531 GB, free: 8.723 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02611/1.526, allocations: 11.06 MB / 1.542 GB, free: 13.25 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/1.527, allocations: 1.178 MB / 1.543 GB, free: 12.04 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00141/1.528, allocations: 349.9 kB / 1.543 GB, free: 11.7 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009685/1.529, allocations: 0.4993 MB / 1.544 GB, free: 11.2 MB / 1.232 GB Notification: Performance of SimCode: time 9.72e-07/1.529, allocations: 0 / 1.544 GB, free: 11.2 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07863/1.608, allocations: 34.34 MB / 1.577 GB, free: 9.316 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/12.62, allocations: 14.45 kB / 1.577 GB, free: 9.305 MB / 1.264 GB " [Timeout remaining time 287] (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: 19.39358714898117]