Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001903/0.001903, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.002334/0.002334, allocations: 161 kB / 22.45 MB, free: 5.375 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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 3.025/3.025, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.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.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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.475e-05, allocations: 2.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003469/0.003494, allocations: 1.796 MB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.005632, allocations: 1.079 MB / 1.003 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.005804, allocations: 3.938 kB / 1.003 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.006418, allocations: 184.4 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006338/0.007052, allocations: 221.7 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.00762, allocations: 224 kB / 1.004 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.00806, allocations: 271.3 kB / 1.004 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.008229, allocations: 40.5 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.008551, allocations: 139.6 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.008805, allocations: 151.7 kB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.008857, allocations: 20 kB / 1.004 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.008993, allocations: 59.91 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.009118, allocations: 91.69 kB / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.009223, allocations: 67.7 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.009711, allocations: 362.8 kB / 1.005 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.009715, allocations: 0 / 1.005 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.009716, allocations: 4 kB / 1.005 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.009724, allocations: 3.938 kB / 1.005 GB, free: 2.609 MB / 0.9512 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.001056/0.01078, allocations: 0.547 MB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01082, allocations: 12.03 kB / 1.005 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.01103, allocations: 40.73 kB / 1.005 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.01176, allocations: 371.9 kB / 1.006 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.01177, allocations: 4.375 kB / 1.006 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.01179, allocations: 12.31 kB / 1.006 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.012, allocations: 82.16 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01201, allocations: 3.938 kB / 1.006 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.01202, allocations: 4 kB / 1.006 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.01203, allocations: 0 / 1.006 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.01217, allocations: 43.97 kB / 1.006 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.01284, allocations: 400.2 kB / 1.006 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.013, allocations: 42.56 kB / 1.006 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.01306, allocations: 20.91 kB / 1.006 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.01308, allocations: 0 / 1.006 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.01312, allocations: 46.5 kB / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.01312, allocations: 0 / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0003347/0.01345, allocations: 101.5 kB / 1.006 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.0135, allocations: 55.34 kB / 1.006 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007584/0.01426, allocations: 0.5796 MB / 1.007 GB, free: 128 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.01428, allocations: 25.7 kB / 1.007 GB, free: 96 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.01444, allocations: 176 kB / 1.007 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.01446, allocations: 11.88 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.01451, allocations: 21.7 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.01468, allocations: 346.8 kB / 1.008 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.01475, allocations: 19.98 kB / 1.008 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.01479, allocations: 12 kB / 1.008 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.0149, allocations: 40.77 kB / 1.008 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.0149, allocations: 0 / 1.008 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002015/0.0151, allocations: 93.72 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01512, allocations: 6.453 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01512, allocations: 3.938 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.01514, allocations: 4.031 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.01521, allocations: 12 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01522, allocations: 0 / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.0153, allocations: 7.984 kB / 1.008 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.0153, allocations: 3.938 kB / 1.008 GB, free: 15.32 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.0001809/0.01549, allocations: 181.8 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.01556, allocations: 31.77 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.01581, allocations: 104.3 kB / 1.008 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01581, allocations: 0 / 1.008 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01582, allocations: 4 kB / 1.008 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01582, allocations: 4 kB / 1.008 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.0161, allocations: 209.2 kB / 1.008 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.0161, allocations: 0 / 1.008 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.01616, allocations: 15.98 kB / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01616, allocations: 0 / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.01617, allocations: 0 / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01617, allocations: 0 / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01617, allocations: 0 / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.01644, allocations: 191.2 kB / 1.008 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.01652, allocations: 43.75 kB / 1.008 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.01656, allocations: 4 kB / 1.008 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.01666, allocations: 4 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.0167, allocations: 4 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.0167, allocations: 7.984 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005477/0.01725, allocations: 427.1 kB / 1.009 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01725, allocations: 0 / 1.009 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002952/0.01755, allocations: 35.92 kB / 1.009 GB, free: 14.02 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.001486/0.01903, allocations: 377 kB / 1.009 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.01921, allocations: 35.91 kB / 1.009 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01921, allocations: 0 / 1.009 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.01927, allocations: 23.92 kB / 1.009 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.01971, allocations: 41.66 kB / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/0.02067, allocations: 0.5278 MB / 1.01 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.0209, allocations: 182.1 kB / 1.01 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.02102, allocations: 55.25 kB / 1.01 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.02109, allocations: 20.5 kB / 1.01 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/0.02109, allocations: 0 / 1.01 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of Templates: time 0.007491/0.02858, allocations: 2.702 MB / 1.013 GB, free: 10.23 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.219093948602676]