Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.001342/0.001342, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001966/0.001966, allocations: 160.9 kB / 23.01 MB, free: 4.602 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.568/1.568, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.738/2.738, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [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.00207/0.00207, allocations: 63.91 kB / 0.9819 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8142/0.8163, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002151/0.8184, allocations: 1.46 MB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0006066/0.819, allocations: 437.4 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.8191, allocations: 3.938 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.8191, allocations: 3.938 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.524e-05/0.8191, allocations: 3.938 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.8193, allocations: 17.05 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.129e-05/0.8194, allocations: 30.75 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.633e-05/0.8195, allocations: 6.312 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.8196, allocations: 17.09 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.184e-05/0.8196, allocations: 13.72 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.8197, allocations: 0 / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.018e-05/0.8197, allocations: 13.86 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.8197, allocations: 3.141 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.8197, allocations: 10.88 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.859e-05/0.8198, allocations: 23.61 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8198, allocations: 0 / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8198, allocations: 0 / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.8198, allocations: 0 / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003042/0.8201, allocations: 274.5 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.8202, allocations: 8.812 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.8203, allocations: 14.39 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.8204, allocations: 128.1 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.8204, allocations: 384 / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.8204, allocations: 384 / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.8205, allocations: 45.64 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.8206, allocations: 0 / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.8206, allocations: 0 / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.8206, allocations: 2.312 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.521e-05/0.8206, allocations: 17.28 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.8208, allocations: 205.9 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.382e-05/0.8209, allocations: 34.33 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.616e-05/0.821, allocations: 20.16 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.821, allocations: 0 / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.821, allocations: 30.56 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.821, allocations: 2.781 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002225/0.8212, allocations: 63.5 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.8212, allocations: 51.41 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.175e-05/0.8213, allocations: 109.5 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.8213, allocations: 25.7 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.8213, allocations: 86.77 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.8213, allocations: 7.141 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.8214, allocations: 14.81 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.8214, allocations: 314.8 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.8215, allocations: 12.91 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.789e-05/0.8215, allocations: 5.844 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.934e-05/0.8216, allocations: 32.23 kB / 1.157 GB, free: 30.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8216, allocations: 4.062 kB / 1.157 GB, free: 30.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.672e-05/0.8217, allocations: 60.23 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.8217, allocations: 5.5 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.8217, allocations: 0 / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.8217, allocations: 0 / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.8217, allocations: 8.5 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.8218, allocations: 0 / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.8218, allocations: 2.906 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.8218, allocations: 0 / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.537e-05/0.8218, allocations: 116.7 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.8219, allocations: 3.281 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.8219, allocations: 10.47 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.8219, allocations: 0 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8219, allocations: 0 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.8219, allocations: 0 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.103e-05/0.822, allocations: 106.5 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.822, allocations: 3.938 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.822, allocations: 8.328 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.822, allocations: 0 / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.822, allocations: 7.938 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.822, allocations: 4 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.822, allocations: 3.938 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.8221, allocations: 145.2 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.8221, allocations: 11.88 kB / 1.158 GB, free: 30.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.8222, allocations: 2.906 kB / 1.158 GB, free: 30.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.8222, allocations: 4 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.8222, allocations: 6.203 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.8223, allocations: 0 / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.237e-05/0.8223, allocations: 81.53 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8223, allocations: 4 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002152/0.8225, allocations: 6.969 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 7.17e-05/0.8226, allocations: 98.73 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.8227, allocations: 24.44 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8227, allocations: 0 / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.8227, allocations: 11.95 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.8229, allocations: 4.062 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.8232, allocations: 125.2 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.69e-05/0.8232, allocations: 66.75 kB / 1.158 GB, free: 29.63 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.8232, allocations: 3.938 kB / 1.158 GB, free: 29.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.8233, allocations: 8.5 kB / 1.158 GB, free: 29.62 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.8233, allocations: 0 / 1.158 GB, free: 29.62 MB / 1.076 GB Notification: Performance of Templates: time 0.00235/0.8256, allocations: 313.2 kB / 1.159 GB, free: 29.55 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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: 8.591212193947285]