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.001973/0.001973, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002373/0.002373, allocations: 215 kB / 20.13 MB, free: 2.949 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.511/1.511, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.792/2.792, allocations: 476.7 MB / 0.7679 GB, free: 9.355 MB / 0.6075 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.002201/0.002201, allocations: 66.11 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.922/0.9242, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2546/1.179, allocations: 197.5 MB / 1.472 GB, free: 6.348 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01026/1.189, allocations: 5.266 MB / 1.477 GB, free: 1.074 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/1.191, allocations: 63.38 kB / 1.477 GB, free: 1.012 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/1.193, allocations: 0.8353 MB / 1.478 GB, free: 176 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01015/1.203, allocations: 2.746 MB / 1.481 GB, free: 13.41 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004103/1.207, allocations: 1.007 MB / 1.482 GB, free: 12.41 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006191/1.213, allocations: 2.648 MB / 1.484 GB, free: 9.758 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/1.216, allocations: 0.7635 MB / 1.485 GB, free: 8.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004046/1.22, allocations: 1.14 MB / 1.486 GB, free: 7.836 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00295/1.223, allocations: 1.031 MB / 1.487 GB, free: 6.801 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000399/1.223, allocations: 84 kB / 1.487 GB, free: 6.719 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006745/1.23, allocations: 1.909 MB / 1.489 GB, free: 4.805 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001185/1.231, allocations: 458.4 kB / 1.489 GB, free: 4.355 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/1.233, allocations: 0.6525 MB / 1.49 GB, free: 3.699 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0068/1.24, allocations: 2.191 MB / 1.492 GB, free: 1.5 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/1.24, allocations: 0 / 1.492 GB, free: 1.5 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.445e-06/1.24, allocations: 3.938 kB / 1.492 GB, free: 1.496 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.702e-05/1.24, allocations: 0 / 1.492 GB, free: 1.496 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.009673/1.25, allocations: 1.99 MB / 1.494 GB, free: 15.45 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/1.25, allocations: 12.02 kB / 1.494 GB, free: 15.43 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.71e-05/1.25, allocations: 22 kB / 1.494 GB, free: 15.41 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003659/1.25, allocations: 143.4 kB / 1.494 GB, free: 15.27 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00635/1.256, allocations: 0.7208 MB / 1.495 GB, free: 14.54 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/1.259, allocations: 0.966 MB / 1.496 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.125e-05/1.259, allocations: 73.97 kB / 1.496 GB, free: 13.45 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/1.259, allocations: 84 kB / 1.496 GB, free: 13.37 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003749/1.263, allocations: 1.465 MB / 1.497 GB, free: 11.84 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/1.263, allocations: 3.938 kB / 1.497 GB, free: 11.84 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.263, allocations: 39.98 kB / 1.498 GB, free: 11.8 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.465e-05/1.263, allocations: 45.98 kB / 1.498 GB, free: 11.76 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004643/1.268, allocations: 1.565 MB / 1.499 GB, free: 10.19 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.008637/1.276, allocations: 5.043 MB / 1.504 GB, free: 4.879 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003708/1.28, allocations: 1.139 MB / 1.505 GB, free: 3.734 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/1.282, allocations: 0.6312 MB / 1.506 GB, free: 3.102 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/1.283, allocations: 0.9449 MB / 1.507 GB, free: 1.969 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002164/1.286, allocations: 0.7186 MB / 1.507 GB, free: 1.238 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 3.266e-06/1.286, allocations: 0 / 1.507 GB, free: 1.238 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.006802/1.292, allocations: 1.972 MB / 1.509 GB, free: 15.26 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/1.292, allocations: 60.06 kB / 1.509 GB, free: 15.19 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/1.294, allocations: 1.297 MB / 1.511 GB, free: 13.87 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/1.295, allocations: 41.7 kB / 1.511 GB, free: 13.82 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/1.295, allocations: 0.592 MB / 1.511 GB, free: 13.23 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003929/1.296, allocations: 293.5 kB / 1.512 GB, free: 12.94 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/1.296, allocations: 186.6 kB / 1.512 GB, free: 12.75 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.296, allocations: 342 kB / 1.512 GB, free: 12.41 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/1.298, allocations: 0.5484 MB / 1.513 GB, free: 11.86 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/1.3, allocations: 0.8169 MB / 1.513 GB, free: 10.94 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/1.304, allocations: 1.348 MB / 1.515 GB, free: 9.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/1.304, allocations: 0 / 1.515 GB, free: 9.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00453/1.308, allocations: 1.523 MB / 1.516 GB, free: 7.965 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/1.308, allocations: 8 kB / 1.516 GB, free: 7.957 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.308, allocations: 11.98 kB / 1.516 GB, free: 7.945 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/1.308, allocations: 12 kB / 1.516 GB, free: 7.934 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/1.31, allocations: 296 kB / 1.516 GB, free: 7.645 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.957e-05/1.31, allocations: 19.92 kB / 1.516 GB, free: 7.625 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.311, allocations: 202.9 kB / 1.517 GB, free: 7.426 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/1.312, allocations: 51.97 kB / 1.517 GB, free: 7.375 MB / 1.201 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.0006456/1.312, allocations: 339.7 kB / 1.517 GB, free: 7.035 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/1.313, allocations: 143.1 kB / 1.517 GB, free: 6.895 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/1.317, allocations: 1.456 MB / 1.519 GB, free: 5.43 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.317, allocations: 15.92 kB / 1.519 GB, free: 5.414 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.317, allocations: 0 / 1.519 GB, free: 5.414 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/1.317, allocations: 11.92 kB / 1.519 GB, free: 5.402 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006747/1.324, allocations: 2.862 MB / 1.521 GB, free: 2.426 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.324, allocations: 4 kB / 1.521 GB, free: 2.422 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/1.325, allocations: 228.2 kB / 1.522 GB, free: 2.199 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-05/1.325, allocations: 8 kB / 1.522 GB, free: 2.191 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/1.325, allocations: 31.97 kB / 1.522 GB, free: 2.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/1.325, allocations: 8.078 kB / 1.522 GB, free: 2.152 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.325, allocations: 15.88 kB / 1.522 GB, free: 2.137 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/1.332, allocations: 2.308 MB / 1.524 GB, free: 15.76 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/1.332, allocations: 319.9 kB / 1.524 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/1.333, allocations: 23.98 kB / 1.524 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.334, allocations: 107.9 kB / 1.524 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.334, allocations: 68.36 kB / 1.524 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.406e-05/1.334, allocations: 39.97 kB / 1.524 GB, free: 15.2 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001287/1.335, allocations: 0.8965 MB / 1.525 GB, free: 14.3 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/1.335, allocations: 0 / 1.525 GB, free: 14.3 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001148/1.336, allocations: 319.7 kB / 1.526 GB, free: 13.98 MB / 1.217 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 (82): * Single equations (assignments): 76 * 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.008716/1.345, allocations: 3.277 MB / 1.529 GB, free: 10.79 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004239/1.349, allocations: 1.277 MB / 1.53 GB, free: 9.516 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.349, allocations: 0 / 1.53 GB, free: 9.516 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/1.351, allocations: 0.6326 MB / 1.531 GB, free: 8.883 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/1.355, allocations: 0.6289 MB / 1.531 GB, free: 8.266 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/1.377, allocations: 11.24 MB / 1.542 GB, free: 12.62 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008917/1.378, allocations: 1.178 MB / 1.543 GB, free: 11.41 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001351/1.379, allocations: 358.3 kB / 1.544 GB, free: 11.06 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008634/1.38, allocations: 0.4914 MB / 1.544 GB, free: 10.57 MB / 1.232 GB Notification: Performance of SimCode: time 7.32e-07/1.38, allocations: 0 / 1.544 GB, free: 10.57 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07056/1.451, allocations: 35.41 MB / 1.579 GB, free: 7.617 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/12.37, allocations: 6.875 kB / 1.579 GB, free: 7.613 MB / 1.264 GB " [Timeout remaining time 287] (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: 18.89575144700939]