Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001162/0.001162, allocations: 72.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001298/0.001298, allocations: 177.9 kB / 23.22 MB, free: 1.336 MB / 18.57 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 0.9019/0.9019, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.016/2.016, allocations: 429.6 MB / 0.6734 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 1.066 GB, free: 33.36 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.614e-05/3.843e-05, allocations: 2.281 kB / 1.066 GB, free: 33.35 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.002066/0.002105, allocations: 1.456 MB / 1.067 GB, free: 32.36 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0006854/0.00279, allocations: 446.8 kB / 1.068 GB, free: 32.07 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.002862, allocations: 2.938 kB / 1.068 GB, free: 32.07 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.002894, allocations: 3.938 kB / 1.068 GB, free: 32.06 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.002945, allocations: 3.422 kB / 1.068 GB, free: 32.06 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.003197, allocations: 16.91 kB / 1.068 GB, free: 32.05 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.003323, allocations: 31.86 kB / 1.068 GB, free: 32.04 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.003449, allocations: 10.83 kB / 1.068 GB, free: 32.03 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.003601, allocations: 26.62 kB / 1.068 GB, free: 32.02 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.003654, allocations: 12.95 kB / 1.068 GB, free: 32.01 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.003669, allocations: 0 / 1.068 GB, free: 32.01 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.003716, allocations: 5.75 kB / 1.068 GB, free: 32.01 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.003733, allocations: 7.984 kB / 1.068 GB, free: 32 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.003754, allocations: 2.812 kB / 1.068 GB, free: 32 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.003877, allocations: 34.12 kB / 1.068 GB, free: 31.99 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.00388, allocations: 0 / 1.068 GB, free: 31.99 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.173e-06/0.003881, allocations: 0 / 1.068 GB, free: 31.99 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.003886, allocations: 0 / 1.068 GB, free: 31.99 MB / 1.01 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.0003686/0.004255, allocations: 267 kB / 1.068 GB, free: 31.72 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.004298, allocations: 8.531 kB / 1.068 GB, free: 31.72 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.004428, allocations: 16.84 kB / 1.068 GB, free: 31.71 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.004608, allocations: 120 kB / 1.068 GB, free: 31.58 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.004619, allocations: 384 / 1.068 GB, free: 31.58 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.004629, allocations: 3.25 kB / 1.068 GB, free: 31.58 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.004753, allocations: 42.22 kB / 1.068 GB, free: 31.54 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.004763, allocations: 192 / 1.068 GB, free: 31.54 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.004773, allocations: 384 / 1.068 GB, free: 31.54 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.00478, allocations: 7.938 kB / 1.068 GB, free: 31.54 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.518e-05/0.004835, allocations: 26.2 kB / 1.068 GB, free: 31.53 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.005063, allocations: 196 kB / 1.069 GB, free: 31.32 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 6.497e-05/0.005128, allocations: 27.08 kB / 1.069 GB, free: 31.29 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.005161, allocations: 20.83 kB / 1.069 GB, free: 31.28 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.005173, allocations: 0 / 1.069 GB, free: 31.28 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.005188, allocations: 38.5 kB / 1.069 GB, free: 31.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.005189, allocations: 6.875 kB / 1.069 GB, free: 31.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.0001793/0.005369, allocations: 61.45 kB / 1.069 GB, free: 31.19 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.00539, allocations: 54.44 kB / 1.069 GB, free: 31.12 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.52e-05/0.005445, allocations: 106.4 kB / 1.069 GB, free: 31.02 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-06/0.005452, allocations: 25.7 kB / 1.069 GB, free: 30.99 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.005478, allocations: 87.38 kB / 1.069 GB, free: 30.91 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.005496, allocations: 6.891 kB / 1.069 GB, free: 30.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.005518, allocations: 17.66 kB / 1.069 GB, free: 30.88 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.00555, allocations: 313.7 kB / 1.069 GB, free: 30.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.005574, allocations: 9.016 kB / 1.069 GB, free: 30.57 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.005593, allocations: 17.08 kB / 1.069 GB, free: 30.56 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.123e-05/0.005644, allocations: 23.64 kB / 1.069 GB, free: 30.55 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.005647, allocations: 0 / 1.069 GB, free: 30.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.543e-05/0.005712, allocations: 58.25 kB / 1.07 GB, free: 30.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.005727, allocations: 6.812 kB / 1.07 GB, free: 30.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.005732, allocations: 0 / 1.07 GB, free: 30.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.005748, allocations: 6.203 kB / 1.07 GB, free: 30.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.005818, allocations: 2.812 kB / 1.07 GB, free: 30.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.005823, allocations: 4.094 kB / 1.07 GB, free: 30.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.00584, allocations: 2.906 kB / 1.07 GB, free: 30.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.005845, allocations: 0 / 1.07 GB, free: 30.5 MB / 1.01 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.724e-05/0.005893, allocations: 116.1 kB / 1.07 GB, free: 30.38 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.005908, allocations: 6.812 kB / 1.07 GB, free: 30.38 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.00593, allocations: 3.625 kB / 1.07 GB, free: 30.38 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.005933, allocations: 0 / 1.07 GB, free: 30.38 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.005938, allocations: 0 / 1.07 GB, free: 30.38 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005941, allocations: 0 / 1.07 GB, free: 30.38 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.488e-05/0.006016, allocations: 106.3 kB / 1.07 GB, free: 30.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.006016, allocations: 4 kB / 1.07 GB, free: 30.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.006032, allocations: 9.062 kB / 1.07 GB, free: 30.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.006033, allocations: 0 / 1.07 GB, free: 30.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.00604, allocations: 3.938 kB / 1.07 GB, free: 30.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.7e-07/0.006041, allocations: 0 / 1.07 GB, free: 30.24 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006042, allocations: 2.844 kB / 1.07 GB, free: 30.24 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.569e-05/0.006127, allocations: 151.3 kB / 1.07 GB, free: 30.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-06/0.006133, allocations: 4 kB / 1.07 GB, free: 30.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.006145, allocations: 6.812 kB / 1.07 GB, free: 30.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.795e-05/0.006173, allocations: 4.031 kB / 1.07 GB, free: 30.09 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.006214, allocations: 10.12 kB / 1.07 GB, free: 30.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.006217, allocations: 0 / 1.07 GB, free: 30.09 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.00624, allocations: 84.84 kB / 1.07 GB, free: 30.01 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.00624, allocations: 0 / 1.07 GB, free: 30.01 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001353/0.006376, allocations: 10.75 kB / 1.07 GB, free: 30 MB / 1.01 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.175e-05/0.006467, allocations: 111 kB / 1.07 GB, free: 29.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.006568, allocations: 25.61 kB / 1.07 GB, free: 29.89 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.006569, allocations: 4.062 kB / 1.07 GB, free: 29.89 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.217e-05/0.006592, allocations: 8.844 kB / 1.07 GB, free: 29.89 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.006753, allocations: 5.594 kB / 1.07 GB, free: 29.89 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.007011, allocations: 145.3 kB / 1.07 GB, free: 29.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.007047, allocations: 60.34 kB / 1.07 GB, free: 29.67 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.007076, allocations: 14.34 kB / 1.07 GB, free: 29.67 MB / 1.01 GB Notification: Performance of SimCode: time 7.81e-07/0.007077, allocations: 0 / 1.07 GB, free: 29.67 MB / 1.01 GB Notification: Performance of Templates: time 0.00159/0.008667, allocations: 0.5553 MB / 1.071 GB, free: 29.64 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU -emit_protected > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.39489084109664]