Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.001658/0.001658, allocations: 113.6 kB / 17.13 MB, free: 5.945 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.001788/0.001788, allocations: 196.7 kB / 20.08 MB, free: 3.008 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.516/1.516, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 443.5 MB / 0.7293 GB, free: 14.67 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 1.057 GB, free: 2.102 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3138, allocations: 160.7 MB / 1.214 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003136/0.3169, allocations: 1.792 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.3184, allocations: 0.9239 MB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.3184, allocations: 3.938 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.319, allocations: 186.4 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.3194, allocations: 162.2 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.3198, allocations: 211.1 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.3201, allocations: 235.5 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3203, allocations: 37.61 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.3204, allocations: 107.6 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.3207, allocations: 167.5 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.3207, allocations: 20 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.3208, allocations: 47.97 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.3209, allocations: 87.69 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.321, allocations: 111.2 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.3214, allocations: 358.5 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3214, allocations: 0 / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3214, allocations: 0 / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3214, allocations: 0 / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008306/0.3223, allocations: 0.6184 MB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3223, allocations: 12.03 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/0.3224, allocations: 32.7 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.3229, allocations: 418.6 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3229, allocations: 4.375 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3229, allocations: 12.12 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.3231, allocations: 73.61 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3231, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3231, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3231, allocations: 7.984 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.3233, allocations: 51.95 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.3239, allocations: 480.4 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.324, allocations: 58.55 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.3241, allocations: 12.86 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3241, allocations: 4 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3241, allocations: 30.56 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3241, allocations: 0 / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002997/0.3244, allocations: 113.4 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.3244, allocations: 55.41 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.3251, allocations: 0.5484 MB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3251, allocations: 29.7 kB / 1.221 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.3253, allocations: 172 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.3253, allocations: 7.938 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.3253, allocations: 21.66 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3255, allocations: 338.8 kB / 1.221 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.313e-05/0.3255, allocations: 19.98 kB / 1.221 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.3256, allocations: 11.98 kB / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.554e-05/0.3257, allocations: 32.84 kB / 1.221 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3257, allocations: 0 / 1.221 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001777/0.3258, allocations: 93.44 kB / 1.221 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3259, allocations: 6.031 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3259, allocations: 0 / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3259, allocations: 11.94 kB / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.326, allocations: 11.94 kB / 1.222 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.326, allocations: 3.984 kB / 1.222 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.326, allocations: 4 kB / 1.222 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.326, allocations: 0 / 1.222 GB, free: 9.164 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.0001613/0.3262, allocations: 181.8 kB / 1.222 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.3263, allocations: 27.81 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.3265, allocations: 100.2 kB / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3265, allocations: 7.938 kB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3265, allocations: 0 / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3265, allocations: 384 / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.3268, allocations: 285.6 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3268, allocations: 3.938 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.3269, allocations: 7.984 kB / 1.222 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3269, allocations: 0 / 1.222 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3269, allocations: 3.938 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.3269, allocations: 11.88 kB / 1.222 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3269, allocations: 0 / 1.222 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.3271, allocations: 191.3 kB / 1.222 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3272, allocations: 120.8 kB / 1.222 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.3272, allocations: 0 / 1.222 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.3273, allocations: 7.938 kB / 1.222 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.3274, allocations: 3.984 kB / 1.222 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3274, allocations: 4 kB / 1.222 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004663/0.3278, allocations: 415.1 kB / 1.223 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3278, allocations: 0 / 1.223 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002544/0.3281, allocations: 24 kB / 1.223 GB, free: 7.699 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.001239/0.3293, allocations: 350 kB / 1.223 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.3295, allocations: 39.91 kB / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3295, allocations: 0 / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.204e-05/0.3295, allocations: 12 kB / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.3299, allocations: 46.25 kB / 1.223 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/0.3308, allocations: 0.5539 MB / 1.224 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.3313, allocations: 0.7908 MB / 1.225 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.3313, allocations: 23.44 kB / 1.225 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.3313, allocations: 3.938 kB / 1.225 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of Templates: time 0.00616/0.3375, allocations: 3.572 MB / 1.228 GB, free: 2.391 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.031161539023742]