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.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.001844/0.001844, allocations: 103.1 kB / 17.08 MB, free: 5.957 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.002204/0.002204, allocations: 197.1 kB / 20.03 MB, free: 3.035 MB / 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.436/1.436, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 490 MB / 0.7695 GB, free: 3.086 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: 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: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 71.89 kB / 1.104 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 164 MB / 1.264 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002745/1.064, allocations: 1.435 MB / 1.265 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000635/1.064, allocations: 394 kB / 1.266 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/1.064, allocations: 0.625 kB / 1.266 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/1.065, allocations: 4.688 kB / 1.266 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/1.065, allocations: 5.203 kB / 1.266 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/1.065, allocations: 9 kB / 1.266 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/1.065, allocations: 24.69 kB / 1.266 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/1.065, allocations: 4.641 kB / 1.266 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.055e-05/1.065, allocations: 14.73 kB / 1.266 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/1.065, allocations: 18.17 kB / 1.266 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/1.065, allocations: 1.812 kB / 1.266 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/1.065, allocations: 1.875 kB / 1.266 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/1.065, allocations: 2.094 kB / 1.266 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/1.065, allocations: 11.2 kB / 1.266 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.722e-05/1.065, allocations: 27.75 kB / 1.266 GB, free: 6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.065, allocations: 0 / 1.266 GB, free: 6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.065, allocations: 0 / 1.266 GB, free: 6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.065, allocations: 1.281 kB / 1.266 GB, free: 6 MB / 0.9981 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.0003468/1.066, allocations: 336.9 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/1.066, allocations: 14.05 kB / 1.266 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/1.066, allocations: 2.375 kB / 1.266 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.518e-05/1.066, allocations: 172 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/1.066, allocations: 1.719 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/1.066, allocations: 1.125 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/1.066, allocations: 46.59 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/1.066, allocations: 3.984 kB / 1.266 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/1.066, allocations: 0.5156 kB / 1.266 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/1.066, allocations: 4.75 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/1.066, allocations: 27.62 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/1.066, allocations: 247.5 kB / 1.267 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.934e-05/1.066, allocations: 29.48 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/1.067, allocations: 19.53 kB / 1.267 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/1.067, allocations: 0.6562 kB / 1.267 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/1.067, allocations: 35.47 kB / 1.267 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.067, allocations: 0.7812 kB / 1.267 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002201/1.067, allocations: 68.64 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/1.067, allocations: 52.2 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.485e-05/1.067, allocations: 103.8 kB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/1.067, allocations: 26.73 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/1.067, allocations: 90.34 kB / 1.267 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/1.067, allocations: 9.688 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/1.067, allocations: 16.55 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.473e-05/1.067, allocations: 313.3 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-05/1.067, allocations: 10.97 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.42e-05/1.067, allocations: 8.125 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.814e-05/1.067, allocations: 32.22 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.067, allocations: 256 / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001065/1.067, allocations: 54.06 kB / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.067, allocations: 5.938 kB / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.067, allocations: 4.797 kB / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/1.067, allocations: 1.438 kB / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/1.067, allocations: 4.5 kB / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.067, allocations: 1.734 kB / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/1.067, allocations: 5.406 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/1.068, allocations: 5.578 kB / 1.267 GB, free: 4.277 MB / 0.9981 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.785e-05/1.068, allocations: 120.1 kB / 1.268 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/1.068, allocations: 1.938 kB / 1.268 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/1.068, allocations: 5.391 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.068, allocations: 0.8438 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.068, allocations: 0 / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.068, allocations: 1.453 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/1.068, allocations: 159.5 kB / 1.268 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.068, allocations: 1.344 kB / 1.268 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/1.068, allocations: 13.81 kB / 1.268 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/1.068, allocations: 0 / 1.268 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/1.068, allocations: 9.359 kB / 1.268 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/1.068, allocations: 0.9062 kB / 1.268 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.068, allocations: 0 / 1.268 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/1.068, allocations: 150.1 kB / 1.268 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/1.068, allocations: 78.5 kB / 1.268 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/1.068, allocations: 5.406 kB / 1.268 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.796e-05/1.068, allocations: 3.062 kB / 1.268 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/1.068, allocations: 2.219 kB / 1.268 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/1.068, allocations: 0.9062 kB / 1.268 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.773e-05/1.068, allocations: 85.91 kB / 1.268 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.068, allocations: 0 / 1.268 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002025/1.068, allocations: 4.656 kB / 1.268 GB, free: 3.621 MB / 0.9981 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 9.354e-05/1.068, allocations: 101 kB / 1.268 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001376/1.069, allocations: 29.05 kB / 1.268 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.069, allocations: 0 / 1.268 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.464e-05/1.069, allocations: 14.47 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/1.069, allocations: 6 kB / 1.268 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/1.069, allocations: 149.3 kB / 1.268 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/1.069, allocations: 0.6815 MB / 1.269 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/1.069, allocations: 8.984 kB / 1.269 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/1.069, allocations: 0.875 kB / 1.269 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of Templates: time 0.002025/1.071, allocations: 0.5178 MB / 1.27 GB, free: 2.617 MB / 0.9981 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 -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: 11.182850192068145]