Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.001345/0.001345, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001557/0.001557, allocations: 209.1 kB / 23 MB, free: 4.934 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.382/3.382, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 75.39 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4171, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.004609/0.4218, allocations: 1.787 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002399/0.4242, allocations: 1.091 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.4243, allocations: 7.938 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.4249, allocations: 196.5 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005984/0.4255, allocations: 215.3 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.4261, allocations: 226.5 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.4265, allocations: 267.4 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.4267, allocations: 44.44 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.4269, allocations: 119.5 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.4272, allocations: 167.5 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.4272, allocations: 20 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.4273, allocations: 59.92 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.4275, allocations: 87.69 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.4276, allocations: 87.39 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.4281, allocations: 378.4 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4281, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4281, allocations: 4 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.4281, allocations: 7.938 kB / 1.332 GB, free: 12.27 MB / 1.029 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.001003/0.4291, allocations: 0.5547 MB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.4292, allocations: 12.02 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.4294, allocations: 40.7 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007698/0.4301, allocations: 372.7 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4302, allocations: 4.312 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.4302, allocations: 12.12 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.4304, allocations: 73.61 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4304, allocations: 4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.4304, allocations: 7.938 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4304, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.4305, allocations: 43.97 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.4312, allocations: 404.2 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.4313, allocations: 46.56 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.4314, allocations: 16.92 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4314, allocations: 3.984 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.4314, allocations: 38.5 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4314, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0003168/0.4318, allocations: 105.4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.4318, allocations: 51.41 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007453/0.4325, allocations: 0.5757 MB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.4326, allocations: 29.7 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.4327, allocations: 180 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.4328, allocations: 11.91 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.4328, allocations: 17.72 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.433, allocations: 342.8 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.243e-05/0.433, allocations: 16 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.4331, allocations: 15.98 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.184e-05/0.4332, allocations: 36.78 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4332, allocations: 0 / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000191/0.4334, allocations: 85.48 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4334, allocations: 8.109 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.4334, allocations: 3.938 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4334, allocations: 0 / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.4335, allocations: 11.98 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4335, allocations: 3.938 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.86e-05/0.4336, allocations: 8 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.4336, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 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.0001807/0.4338, allocations: 181.8 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.4338, allocations: 35.75 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.4341, allocations: 104.4 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4341, allocations: 0 / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4341, allocations: 0 / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.186e-05/0.4341, allocations: 47.73 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.4342, allocations: 4 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.4343, allocations: 0 / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.4343, allocations: 8.359 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001944/0.4345, allocations: 144.9 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002679/0.4348, allocations: 266.5 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.708e-05/0.4348, allocations: 15.98 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005173/0.4353, allocations: 435.1 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of Backend: time 1.91e-07/0.4353, allocations: 3.938 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002269/0.4376, allocations: 479.3 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of SimCode: time 0.001475/0.4391, allocations: 0.9881 MB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of Templates: time 0.009111/0.4482, allocations: 3.192 MB / 1.34 GB, free: 3.238 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.431396949999908]