Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002057/0.002057, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.002123/0.002123, allocations: 167 kB / 22.46 MB, free: 5.379 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.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.702/2.702, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.887e-06/3.887e-06, allocations: 4 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/3.065e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002829/0.00286, allocations: 1.442 MB / 0.9524 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.003797, allocations: 447.5 kB / 0.9528 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.003858, allocations: 0 / 0.9528 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.003896, allocations: 7.922 kB / 0.9528 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.199e-05/0.003938, allocations: 4 kB / 0.9528 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.004174, allocations: 19.86 kB / 0.9528 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.004281, allocations: 27.86 kB / 0.9529 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.004379, allocations: 7.984 kB / 0.9529 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.004521, allocations: 23.98 kB / 0.9529 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.004568, allocations: 11.92 kB / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.004585, allocations: 4 kB / 0.9529 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.274e-05/0.004627, allocations: 4 kB / 0.9529 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.004643, allocations: 4 kB / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.004667, allocations: 7.984 kB / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.004793, allocations: 35.78 kB / 0.953 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.004799, allocations: 7.922 kB / 0.953 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.0048, allocations: 0 / 0.953 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.004811, allocations: 0 / 0.953 GB, free: 9.527 MB / 0.8575 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.0004912/0.005302, allocations: 266.2 kB / 0.9532 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.005341, allocations: 12.03 kB / 0.9532 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.005488, allocations: 8.922 kB / 0.9532 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.005715, allocations: 109.8 kB / 0.9534 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.005723, allocations: 8.359 kB / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.005735, allocations: 384 / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.005869, allocations: 42.25 kB / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.005876, allocations: 192 / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.005886, allocations: 384 / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.005893, allocations: 3.938 kB / 0.9534 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.69e-05/0.005979, allocations: 23.98 kB / 0.9534 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.006292, allocations: 196.5 kB / 0.9536 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.404e-05/0.006386, allocations: 30.67 kB / 0.9536 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.006441, allocations: 20.84 kB / 0.9537 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.006457, allocations: 4 kB / 0.9537 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.006488, allocations: 34.5 kB / 0.9537 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.00649, allocations: 0 / 0.9537 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002425/0.006732, allocations: 65.61 kB / 0.9538 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.006773, allocations: 55.34 kB / 0.9538 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/0.00687, allocations: 101.9 kB / 0.9539 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.006886, allocations: 25.7 kB / 0.9539 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.006946, allocations: 92.12 kB / 0.954 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.006966, allocations: 7.891 kB / 0.954 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.00701, allocations: 17.72 kB / 0.954 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.00716, allocations: 310.8 kB / 0.9543 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.007204, allocations: 11.98 kB / 0.9544 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.007237, allocations: 12.12 kB / 0.9544 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.00732, allocations: 24.84 kB / 0.9544 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007321, allocations: 0 / 0.9544 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001289/0.00745, allocations: 61.56 kB / 0.9545 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.007467, allocations: 7.938 kB / 0.9545 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.007472, allocations: 0 / 0.9545 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.007485, allocations: 0 / 0.9545 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.007556, allocations: 4.094 kB / 0.9545 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.007561, allocations: 8 kB / 0.9545 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.007592, allocations: 0 / 0.9545 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.007599, allocations: 3.984 kB / 0.9545 GB, free: 7.816 MB / 0.8575 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 9.521e-05/0.007694, allocations: 117.8 kB / 0.9546 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.007724, allocations: 3.938 kB / 0.9546 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.007747, allocations: 7.625 kB / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007749, allocations: 0 / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.007752, allocations: 0 / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.007754, allocations: 0 / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.007899, allocations: 105.3 kB / 0.9547 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.0079, allocations: 4 kB / 0.9547 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.007943, allocations: 4 kB / 0.9547 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007945, allocations: 0 / 0.9547 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.007958, allocations: 15.92 kB / 0.9547 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007959, allocations: 3.938 kB / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.00796, allocations: 0 / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.008135, allocations: 143.5 kB / 0.9549 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.00815, allocations: 8 kB / 0.9549 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.008163, allocations: 3.938 kB / 0.9549 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.063e-05/0.008224, allocations: 8.016 kB / 0.9549 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.008252, allocations: 11.92 kB / 0.9549 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.008255, allocations: 0 / 0.9549 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.00831, allocations: 87.58 kB / 0.955 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.00831, allocations: 0 / 0.955 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002335/0.008544, allocations: 4 kB / 0.955 GB, free: 7.242 MB / 0.8575 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.873e-05/0.008643, allocations: 95.25 kB / 0.9551 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.008769, allocations: 23.92 kB / 0.9551 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.008771, allocations: 8.062 kB / 0.9551 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.981e-05/0.008811, allocations: 4 kB / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.009017, allocations: 7.984 kB / 0.9551 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.009308, allocations: 120.9 kB / 0.9552 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.67e-05/0.009365, allocations: 59.34 kB / 0.9553 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.00939, allocations: 4 kB / 0.9553 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.009416, allocations: 8.5 kB / 0.9553 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.009416, allocations: 8 kB / 0.9553 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of Templates: time 0.002627/0.01204, allocations: 317.3 kB / 0.9556 GB, free: 6.551 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.719442818313837]