Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.000825/0.000825, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007845/0.0007845, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8895/0.8895, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.654/1.654, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 3.938 kB / 0.9518 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.672e-05, allocations: 2.281 kB / 0.9518 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001161/0.001178, allocations: 0.8416 MB / 0.9526 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.001941, allocations: 0.9178 MB / 0.9535 GB, free: 36 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.001996, allocations: 0 / 0.9535 GB, free: 36 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.002023, allocations: 11.81 kB / 0.9535 GB, free: 24 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.214e-05/0.002075, allocations: 15.86 kB / 0.9536 GB, free: 8 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.002222, allocations: 63.89 kB / 0.9536 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.002368, allocations: 139.7 kB / 0.9537 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.002482, allocations: 45.64 kB / 0.9538 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.002556, allocations: 75.86 kB / 0.9539 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.002603, allocations: 47.8 kB / 0.9539 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.002625, allocations: 12 kB / 0.9539 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.002636, allocations: 16 kB / 0.9539 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.002661, allocations: 23.92 kB / 0.954 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.002693, allocations: 43.89 kB / 0.954 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.00282, allocations: 147.5 kB / 0.9541 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.002822, allocations: 3.938 kB / 0.9541 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002823, allocations: 0 / 0.9541 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.002826, allocations: 0 / 0.9541 GB, free: 15.39 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0003537/0.00318, allocations: 376.7 kB / 0.9545 GB, free: 15 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.003209, allocations: 16.03 kB / 0.9545 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.003242, allocations: 16.84 kB / 0.9545 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.003395, allocations: 157.5 kB / 0.9547 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.003405, allocations: 12.36 kB / 0.9547 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.003421, allocations: 16.31 kB / 0.9547 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.003632, allocations: 220.1 kB / 0.9549 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.003638, allocations: 4.188 kB / 0.9549 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.00365, allocations: 8.375 kB / 0.9549 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.003654, allocations: 4.375 kB / 0.9549 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.003821, allocations: 127.9 kB / 0.9551 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.00425, allocations: 388 kB / 0.9554 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.004366, allocations: 86.47 kB / 0.9555 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/0.004431, allocations: 40.84 kB / 0.9556 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.004446, allocations: 0 / 0.9556 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.004465, allocations: 38.56 kB / 0.9556 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.004466, allocations: 0 / 0.9556 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0002492/0.004715, allocations: 153.6 kB / 0.9557 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.00474, allocations: 59.39 kB / 0.9558 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.00482, allocations: 139.9 kB / 0.9559 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.004833, allocations: 29.7 kB / 0.956 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.004881, allocations: 119.9 kB / 0.9561 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.004899, allocations: 39.62 kB / 0.9561 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.004936, allocations: 29.72 kB / 0.9561 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.005006, allocations: 318.8 kB / 0.9564 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.005072, allocations: 47.97 kB / 0.9565 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.005136, allocations: 43.91 kB / 0.9565 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.005262, allocations: 90.33 kB / 0.9566 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.005263, allocations: 4 kB / 0.9566 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001613/0.005424, allocations: 137.6 kB / 0.9567 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.005434, allocations: 7.938 kB / 0.9568 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.005438, allocations: 0 / 0.9568 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.005446, allocations: 4 kB / 0.9568 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.005534, allocations: 23.92 kB / 0.9568 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.005537, allocations: 4 kB / 0.9568 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.005578, allocations: 16.31 kB / 0.9568 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.005584, allocations: 11.94 kB / 0.9568 GB, free: 12.47 MB / 0.8698 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 (13): * Single equations (assignments): 13 * 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 5.663e-05/0.005641, allocations: 114.4 kB / 0.9569 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.005657, allocations: 7.953 kB / 0.9569 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.00584, allocations: 146.2 kB / 0.9571 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.005842, allocations: 0 / 0.9571 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.005846, allocations: 7.984 kB / 0.9571 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.005848, allocations: 0 / 0.9571 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.006153, allocations: 384.5 kB / 0.9574 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.006154, allocations: 0 / 0.9574 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.006202, allocations: 23.98 kB / 0.9575 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006203, allocations: 0 / 0.9575 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.00621, allocations: 4 kB / 0.9575 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.006213, allocations: 7.984 kB / 0.9575 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.006214, allocations: 4 kB / 0.9575 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.006389, allocations: 242.1 kB / 0.9577 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.0064, allocations: 11.94 kB / 0.9577 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-06/0.006409, allocations: 0 / 0.9577 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.006474, allocations: 15.98 kB / 0.9577 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.006501, allocations: 15.91 kB / 0.9578 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.006506, allocations: 4 kB / 0.9578 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.006554, allocations: 117.6 kB / 0.9579 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.006554, allocations: 0 / 0.9579 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001543/0.006709, allocations: 31.89 kB / 0.9579 GB, free: 11.27 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 6.155e-05/0.00677, allocations: 99.25 kB / 0.958 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.006929, allocations: 96.88 kB / 0.9581 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.00693, allocations: 0 / 0.9581 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.006995, allocations: 43.92 kB / 0.9581 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.007177, allocations: 23.86 kB / 0.9582 GB, free: 11 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.007479, allocations: 271.1 kB / 0.9584 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.39e-05/0.007533, allocations: 98.22 kB / 0.9585 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.00757, allocations: 20.44 kB / 0.9585 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of SimCode: time 2.81e-07/0.00757, allocations: 0 / 0.9585 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of Templates: time 0.001653/0.009223, allocations: 1.45 MB / 0.9599 GB, free: 9.109 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.344955335371196]