Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.0008572/0.0008572, allocations: 88.22 kB / 20.21 MB, free: 4.211 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.00104/0.00104, allocations: 161.3 kB / 23.52 MB, free: 0.8984 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.916/0.916, allocations: 177.2 MB / 203.9 MB, free: 5.598 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 1.922/1.922, allocations: 428.5 MB / 0.6727 GB, free: 4.906 MB / 0.6355 GB " [Timeout remaining time 178] 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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.02e-07/9.02e-07, allocations: 0 / 0.8763 GB, free: 8.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.535e-05, allocations: 5.484 kB / 0.8763 GB, free: 8.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.001985/0.002, allocations: 1.797 MB / 0.878 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003165, allocations: 1.082 MB / 0.8791 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.003235, allocations: 7.938 kB / 0.8791 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.003584, allocations: 190 kB / 0.8793 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.003889, allocations: 227.2 kB / 0.8795 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.004138, allocations: 212.2 kB / 0.8797 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.004354, allocations: 271.3 kB / 0.88 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.004451, allocations: 36.58 kB / 0.88 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.004854, allocations: 143.6 kB / 0.8801 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.004996, allocations: 147.7 kB / 0.8803 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.005022, allocations: 23.98 kB / 0.8803 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.34e-05/0.005096, allocations: 55.92 kB / 0.8804 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.005164, allocations: 91.75 kB / 0.8804 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.005214, allocations: 63.72 kB / 0.8805 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.0055, allocations: 378.7 kB / 0.8809 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005502, allocations: 0 / 0.8809 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.82e-07/0.005503, allocations: 5.406 kB / 0.8809 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.005506, allocations: 0 / 0.8809 GB, free: 4.008 MB / 0.8386 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.0005008/0.006007, allocations: 0.5469 MB / 0.8814 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.006036, allocations: 12.97 kB / 0.8814 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.006163, allocations: 48.69 kB / 0.8815 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.006524, allocations: 377.5 kB / 0.8818 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.006533, allocations: 8.312 kB / 0.8818 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.006546, allocations: 8.375 kB / 0.8818 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.006659, allocations: 77.12 kB / 0.8819 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.006665, allocations: 7.938 kB / 0.8819 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.006674, allocations: 4 kB / 0.8819 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.006678, allocations: 0 / 0.8819 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.255e-05/0.00675, allocations: 47.91 kB / 0.882 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.007103, allocations: 396.3 kB / 0.8824 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.167e-05/0.007184, allocations: 48.12 kB / 0.8824 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.007223, allocations: 24.89 kB / 0.8824 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.007238, allocations: 0 / 0.8824 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.007253, allocations: 34.56 kB / 0.8825 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.007253, allocations: 0.625 kB / 0.8825 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001804/0.007434, allocations: 111 kB / 0.8826 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.007456, allocations: 55.41 kB / 0.8826 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.007882, allocations: 0.5719 MB / 0.8832 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.007891, allocations: 25.7 kB / 0.8832 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.007985, allocations: 180.8 kB / 0.8834 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.008, allocations: 7.906 kB / 0.8834 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.008026, allocations: 21.7 kB / 0.8834 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.008112, allocations: 347.5 kB / 0.8837 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/0.008139, allocations: 23.92 kB / 0.8838 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.008164, allocations: 11.98 kB / 0.8838 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.008214, allocations: 32.84 kB / 0.8838 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.008215, allocations: 4 kB / 0.8838 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.747e-05/0.008313, allocations: 93.42 kB / 0.8839 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.008323, allocations: 4 kB / 0.8839 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.008327, allocations: 0 / 0.8839 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.008337, allocations: 0 / 0.8839 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.447e-05/0.008381, allocations: 8 kB / 0.8839 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.008386, allocations: 7.984 kB / 0.8839 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.00842, allocations: 3.984 kB / 0.8839 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.008426, allocations: 7.938 kB / 0.8839 GB, free: 0.7305 MB / 0.8386 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 9.949e-05/0.008525, allocations: 181.8 kB / 0.8841 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.008557, allocations: 31.77 kB / 0.8841 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.008687, allocations: 104.3 kB / 0.8842 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.008689, allocations: 4 kB / 0.8842 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.008692, allocations: 3.938 kB / 0.8842 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.008695, allocations: 0 / 0.8842 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.00885, allocations: 221.1 kB / 0.8844 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008851, allocations: 0 / 0.8844 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.008877, allocations: 11.98 kB / 0.8845 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008879, allocations: 0 / 0.8845 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.008885, allocations: 0 / 0.8845 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.008885, allocations: 0 / 0.8845 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008886, allocations: 0 / 0.8845 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.009011, allocations: 191.6 kB / 0.8846 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.009051, allocations: 43.8 kB / 0.8847 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.009068, allocations: 0 / 0.8847 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.174e-05/0.00912, allocations: 8 kB / 0.8847 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.009145, allocations: 12.02 kB / 0.8847 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.009148, allocations: 0 / 0.8847 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002967/0.009444, allocations: 435 kB / 0.8851 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009445, allocations: 0 / 0.8851 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001737/0.009618, allocations: 31.94 kB / 0.8851 GB, free: 15.41 MB / 0.8542 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.0005399/0.01016, allocations: 376.6 kB / 0.8855 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.161e-05/0.01025, allocations: 35.92 kB / 0.8855 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01025, allocations: 0 / 0.8855 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.01028, allocations: 11.98 kB / 0.8855 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.01052, allocations: 55.27 kB / 0.8856 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.01106, allocations: 0.5861 MB / 0.8862 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.01117, allocations: 178.1 kB / 0.8863 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.01122, allocations: 32.48 kB / 0.8864 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/0.01122, allocations: 0 / 0.8864 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of Templates: time 0.003948/0.01517, allocations: 3.852 MB / 0.8901 GB, free: 10.39 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo -emit_protected > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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: 6.934690061956644]