Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001775/0.001775, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002187/0.002187, allocations: 191.2 kB / 22.17 MB, free: 5.656 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.428/1.428, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7035/0.7055, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003227/0.7087, allocations: 1.795 MB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.7103, allocations: 0.9411 MB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.7103, allocations: 0 / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.7109, allocations: 192.8 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.7112, allocations: 159.5 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.7117, allocations: 208.7 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.7121, allocations: 243.4 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.7122, allocations: 40.33 kB / 1.278 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.7123, allocations: 95.59 kB / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.7126, allocations: 171.5 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.7126, allocations: 20 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.7127, allocations: 47.97 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.7128, allocations: 83.75 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.713, allocations: 123.2 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.7134, allocations: 354.6 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7134, allocations: 0 / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7134, allocations: 0 / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.7134, allocations: 0 / 1.278 GB, free: 104 kB / 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.0009598/0.7144, allocations: 0.6302 MB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.7144, allocations: 8.031 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.7145, allocations: 36.7 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.7151, allocations: 406.7 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.7151, allocations: 384 / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.7151, allocations: 12.12 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.7153, allocations: 77.59 kB / 1.28 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.7153, allocations: 3.984 kB / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.7153, allocations: 4 kB / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.7153, allocations: 0 / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.7154, allocations: 51.91 kB / 1.28 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.7161, allocations: 484.5 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.7162, allocations: 50.48 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.7163, allocations: 16.92 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.7163, allocations: 0 / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.7163, allocations: 38.55 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.7163, allocations: 4 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003204/0.7167, allocations: 101.4 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.7167, allocations: 51.41 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007131/0.7174, allocations: 0.5601 MB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.7174, allocations: 25.7 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.7176, allocations: 176 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.7176, allocations: 15.91 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.7177, allocations: 9.719 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.7178, allocations: 342.8 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.7179, allocations: 15.98 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.7179, allocations: 15.98 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.398e-05/0.718, allocations: 32.84 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.718, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001868/0.7182, allocations: 97.42 kB / 1.282 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.7182, allocations: 5.406 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.7182, allocations: 0 / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.7183, allocations: 3.938 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.7183, allocations: 11.98 kB / 1.282 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.7183, allocations: 112 / 1.282 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.7184, allocations: 3.938 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.7184, allocations: 8 kB / 1.282 GB, free: 12.62 MB / 0.9825 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.0001644/0.7186, allocations: 181.8 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.7186, allocations: 27.81 kB / 1.282 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.7189, allocations: 104.5 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.7189, allocations: 7.938 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7189, allocations: 48 / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.7189, allocations: 3.984 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.7192, allocations: 281.5 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7192, allocations: 0 / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.7193, allocations: 11.98 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7193, allocations: 4 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.7193, allocations: 0 / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.7193, allocations: 3.938 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7193, allocations: 0 / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.7195, allocations: 187.3 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.7196, allocations: 116.9 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.7197, allocations: 0 / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/0.7198, allocations: 3.938 kB / 1.282 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.7198, allocations: 11.98 kB / 1.282 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.7198, allocations: 3.938 kB / 1.282 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004906/0.7203, allocations: 419.1 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7203, allocations: 0 / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002647/0.7206, allocations: 24 kB / 1.283 GB, free: 11.15 MB / 0.9825 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.001301/0.7219, allocations: 359.8 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.722, allocations: 31.97 kB / 1.283 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.722, allocations: 0 / 1.283 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.322e-05/0.7221, allocations: 12 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.7225, allocations: 47.89 kB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008506/0.7234, allocations: 0.5248 MB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.7238, allocations: 0.7831 MB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.7239, allocations: 51.11 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.724, allocations: 31.41 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.724, allocations: 0 / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of Templates: time 0.006362/0.7303, allocations: 2.502 MB / 1.287 GB, free: 6.922 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.28616261202842]