Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002171/0.002171, 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.002553/0.002553, allocations: 161 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.502/1.502, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.862/2.862, allocations: 394.2 MB / 0.6386 GB, free: 12.01 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002247/0.002247, allocations: 63.89 kB / 1.009 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8131, allocations: 181.8 MB / 1.187 GB, free: 16.45 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002292/0.8154, allocations: 1.462 MB / 1.188 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0006678/0.816, allocations: 430 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.8161, allocations: 1.375 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.8161, allocations: 0.6094 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.8162, allocations: 9.297 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.8163, allocations: 21.41 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.8164, allocations: 26.36 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.683e-05/0.8165, allocations: 11.81 kB / 1.189 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.8166, allocations: 30.69 kB / 1.189 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.8167, allocations: 9.266 kB / 1.189 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.8167, allocations: 2.75 kB / 1.189 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.821e-05/0.8167, allocations: 4.828 kB / 1.189 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.8167, allocations: 5.266 kB / 1.189 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.8167, allocations: 7.438 kB / 1.189 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.358e-05/0.8168, allocations: 31.53 kB / 1.189 GB, free: 15.08 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8168, allocations: 0 / 1.189 GB, free: 15.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8168, allocations: 1.375 kB / 1.189 GB, free: 15.08 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.8169, allocations: 4 kB / 1.189 GB, free: 15.08 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.0003094/0.8172, allocations: 260.5 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.8172, allocations: 10.19 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.8173, allocations: 10.67 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.8175, allocations: 117.8 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.8175, allocations: 1.906 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-06/0.8175, allocations: 1.094 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.8176, allocations: 47.23 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.8176, allocations: 3.938 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.8176, allocations: 4 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.8176, allocations: 1.094 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.003e-05/0.8177, allocations: 18.7 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.8179, allocations: 192.9 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.598e-05/0.818, allocations: 33.58 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.818, allocations: 18.86 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.8181, allocations: 1.062 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.8181, allocations: 40.2 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8181, allocations: 0 / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002076/0.8183, allocations: 60.66 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.8183, allocations: 57.2 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.8184, allocations: 104.8 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-06/0.8184, allocations: 27.44 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/0.8184, allocations: 85.91 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.8184, allocations: 5.734 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.8184, allocations: 16.91 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.729e-05/0.8185, allocations: 318.5 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.02e-05/0.8185, allocations: 7.047 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.8185, allocations: 14.92 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.104e-05/0.8186, allocations: 24.81 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8186, allocations: 0 / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001043/0.8187, allocations: 54.69 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.8187, allocations: 10.31 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.8187, allocations: 1.156 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.8187, allocations: 4.609 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.8188, allocations: 5.375 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.8188, allocations: 1.234 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.8189, allocations: 2.781 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.8189, allocations: 1.891 kB / 1.19 GB, free: 13.61 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.422e-05/0.8189, allocations: 120.6 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.8189, allocations: 5.078 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.856e-05/0.8189, allocations: 5.578 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.8189, allocations: 1.688 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.8189, allocations: 4 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.819, allocations: 0 / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.707e-05/0.819, allocations: 109.4 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.8191, allocations: 9.547 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.8191, allocations: 6.016 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8191, allocations: 0.7031 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.8191, allocations: 0 / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8191, allocations: 1.875 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8191, allocations: 0 / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.8192, allocations: 146.8 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.8192, allocations: 9.984 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.8192, allocations: 1.281 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.8193, allocations: 2.906 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.8193, allocations: 10.03 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.8193, allocations: 1.844 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.194e-05/0.8194, allocations: 91.42 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8194, allocations: 0 / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000223/0.8196, allocations: 3.375 kB / 1.191 GB, free: 13.09 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 8.485e-05/0.8197, allocations: 94.91 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.8198, allocations: 26.69 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.8198, allocations: 0 / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.8199, allocations: 9.5 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.8201, allocations: 9.469 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.8203, allocations: 120.7 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.8204, allocations: 66 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.8204, allocations: 6.156 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.8204, allocations: 8.5 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.8204, allocations: 1 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of Templates: time 0.002412/0.8228, allocations: 317.6 kB / 1.191 GB, free: 12.71 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.639262850978412]