Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.001286/0.001286, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001379/0.001379, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.4/1.4, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 443.5 MB / 0.7321 GB, free: 12.46 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 71.89 kB / 1.061 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8627/0.8647, allocations: 160.8 MB / 1.218 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003116/0.8678, allocations: 1.697 MB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008228/0.8687, allocations: 457.7 kB / 1.221 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.8687, allocations: 1.156 kB / 1.221 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.998e-05/0.8688, allocations: 7.922 kB / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.952e-05/0.8689, allocations: 18.31 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.869, allocations: 27.48 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.8692, allocations: 87.88 kB / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.8693, allocations: 18.95 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.8694, allocations: 37.25 kB / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.919e-05/0.8695, allocations: 37.75 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.8695, allocations: 8 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.855e-05/0.8695, allocations: 6.406 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.8696, allocations: 22.58 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.8696, allocations: 36.61 kB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.8698, allocations: 84.11 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8698, allocations: 1.125 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8698, allocations: 0 / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.8698, allocations: 3.938 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006246/0.8704, allocations: 395.4 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.8705, allocations: 8.625 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.8705, allocations: 10.05 kB / 1.221 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.8707, allocations: 181.5 kB / 1.222 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.8707, allocations: 10.41 kB / 1.222 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.8707, allocations: 3.594 kB / 1.222 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.871, allocations: 96.2 kB / 1.222 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.871, allocations: 0 / 1.222 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.871, allocations: 4 kB / 1.222 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.871, allocations: 2.188 kB / 1.222 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.8712, allocations: 54.05 kB / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.8718, allocations: 318.8 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.8719, allocations: 56.92 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.906e-05/0.872, allocations: 25.34 kB / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.8721, allocations: 5.094 kB / 1.222 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.8721, allocations: 31.59 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.8721, allocations: 0 / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003817/0.8725, allocations: 107 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.8725, allocations: 77.98 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.8727, allocations: 131.3 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.8727, allocations: 26.83 kB / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.8728, allocations: 103.1 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.8728, allocations: 17.95 kB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.8729, allocations: 15.09 kB / 1.223 GB, free: 156 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.873, allocations: 324.2 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.8731, allocations: 28.45 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.563e-05/0.8732, allocations: 37.64 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.8733, allocations: 56.58 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8734, allocations: 0 / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002074/0.8736, allocations: 83.36 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.8736, allocations: 6.906 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8736, allocations: 1.062 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.8736, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.8737, allocations: 11.39 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.8737, allocations: 4 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.8738, allocations: 15.19 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.8738, allocations: 5.156 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001131/0.8739, allocations: 113.9 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.874, allocations: 12.16 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.874, allocations: 10.5 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.874, allocations: 0 / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.874, allocations: 1.125 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.874, allocations: 7.938 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.8743, allocations: 195.7 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8743, allocations: 0.7188 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.8743, allocations: 11.33 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.8743, allocations: 0 / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.8743, allocations: 1.219 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8744, allocations: 3.938 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8744, allocations: 0.9375 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.8746, allocations: 182.8 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.8747, allocations: 78.47 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.8747, allocations: 2.219 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.8748, allocations: 18.61 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.8749, allocations: 11.62 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.8749, allocations: 3.984 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.036e-05/0.875, allocations: 106.8 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.875, allocations: 7.938 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002303/0.8752, allocations: 14.33 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 0.000148/0.8754, allocations: 101.5 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.8756, allocations: 48.5 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.8756, allocations: 1.25 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.8757, allocations: 30.66 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.876, allocations: 11.03 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.8765, allocations: 180.9 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.8769, allocations: 0.6956 MB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.719e-05/0.8769, allocations: 2.156 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.8769, allocations: 14.7 kB / 1.225 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.8769, allocations: 0 / 1.225 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of Templates: time 0.003759/0.8807, allocations: 0.9013 MB / 1.226 GB, free: 13.45 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.579473762772977]