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.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.001386/0.001392, allocations: 104.8 kB / 16.4 MB, free: 6.496 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.001375/0.001375, allocations: 194.8 kB / 19.36 MB, free: 3.75 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.786/1.786, allocations: 222.9 MB / 245 MB, free: 15.01 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.92/2.92, allocations: 469.8 MB / 0.749 GB, free: 3.043 MB / 0.6075 GB " [Timeout remaining time 176] 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.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 0.003423/0.003423, allocations: 67.91 kB / 1.074 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9843/0.9878, allocations: 159.1 MB / 1.229 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002336/0.9902, allocations: 0.8902 MB / 1.23 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.9915, allocations: 0.8897 MB / 1.231 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.9916, allocations: 3.938 kB / 1.231 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.9917, allocations: 15.86 kB / 1.231 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.9918, allocations: 15.86 kB / 1.231 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.992, allocations: 63.86 kB / 1.231 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.9923, allocations: 135.7 kB / 1.231 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.9925, allocations: 69.39 kB / 1.231 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.9926, allocations: 43.86 kB / 1.231 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.9927, allocations: 59.69 kB / 1.231 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.9927, allocations: 12 kB / 1.231 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.576e-05/0.9928, allocations: 12 kB / 1.231 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.9928, allocations: 43.77 kB / 1.231 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.9929, allocations: 63.66 kB / 1.231 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.9931, allocations: 133.8 kB / 1.232 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.9931, allocations: 3.984 kB / 1.232 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9931, allocations: 8 kB / 1.232 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.9931, allocations: 0 / 1.232 GB, free: 2.434 MB / 0.9356 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.0007202/0.9938, allocations: 434.9 kB / 1.232 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.9939, allocations: 11.97 kB / 1.232 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.994, allocations: 16.84 kB / 1.232 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.9943, allocations: 236 kB / 1.232 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.9943, allocations: 12.38 kB / 1.232 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.9944, allocations: 16.31 kB / 1.232 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.9947, allocations: 146.2 kB / 1.232 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.9947, allocations: 4.125 kB / 1.232 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.9948, allocations: 7.938 kB / 1.232 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.9948, allocations: 4 kB / 1.232 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.9951, allocations: 131.9 kB / 1.233 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008916/0.996, allocations: 488.2 kB / 1.233 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.9963, allocations: 86.47 kB / 1.233 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.9964, allocations: 48.97 kB / 1.233 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.9964, allocations: 7.984 kB / 1.233 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.9965, allocations: 38.55 kB / 1.233 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.9965, allocations: 0 / 1.233 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0005275/0.997, allocations: 153.5 kB / 1.233 GB, free: 468 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.9971, allocations: 55.41 kB / 1.233 GB, free: 400 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.9973, allocations: 199.4 kB / 1.234 GB, free: 184 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.9974, allocations: 25.7 kB / 1.234 GB, free: 152 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.9975, allocations: 116 kB / 1.234 GB, free: 32 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.9975, allocations: 39.69 kB / 1.234 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/0.9976, allocations: 21.72 kB / 1.234 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.9978, allocations: 322.8 kB / 1.234 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.9979, allocations: 43.97 kB / 1.234 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.998, allocations: 43.97 kB / 1.234 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.9983, allocations: 95.88 kB / 1.234 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9983, allocations: 0 / 1.234 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003505/0.9987, allocations: 149.5 kB / 1.234 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.9987, allocations: 4 kB / 1.234 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9987, allocations: 384 / 1.234 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.9987, allocations: 4 kB / 1.234 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.9989, allocations: 31.97 kB / 1.234 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.9989, allocations: 0 / 1.234 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.9991, allocations: 23.78 kB / 1.234 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.9991, allocations: 4 kB / 1.234 GB, free: 15.24 MB / 0.9512 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 0.0001286/0.9992, allocations: 125.7 kB / 1.235 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.9992, allocations: 19.88 kB / 1.235 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.9996, allocations: 142.9 kB / 1.235 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9997, allocations: 0 / 1.235 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9997, allocations: 0 / 1.235 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.9997, allocations: 0 / 1.235 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/1, allocations: 460.9 kB / 1.235 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1, allocations: 4.094 kB / 1.235 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/1.001, allocations: 23.92 kB / 1.235 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.001, allocations: 4 kB / 1.235 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/1.001, allocations: 0 / 1.235 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.001, allocations: 0 / 1.235 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.001, allocations: 4 kB / 1.235 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/1.001, allocations: 253.8 kB / 1.235 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/1.001, allocations: 93 kB / 1.236 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/1.001, allocations: 4 kB / 1.236 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/1.001, allocations: 15.98 kB / 1.236 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/1.001, allocations: 11.92 kB / 1.236 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/1.001, allocations: 8 kB / 1.236 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001195/1.001, allocations: 141.2 kB / 1.236 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.001, allocations: 0 / 1.236 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002457/1.002, allocations: 20 kB / 1.236 GB, free: 13.8 MB / 0.9512 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 0.0001572/1.002, allocations: 111.2 kB / 1.236 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003307/1.002, allocations: 91.89 kB / 1.236 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.002, allocations: 4 kB / 1.236 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/1.002, allocations: 51.91 kB / 1.236 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/1.003, allocations: 20.11 kB / 1.236 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/1.003, allocations: 249.6 kB / 1.236 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/1.004, allocations: 0.7083 MB / 1.237 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.523e-05/1.004, allocations: 13.08 kB / 1.237 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/1.004, allocations: 19.42 kB / 1.237 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/1.004, allocations: 0 / 1.237 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of Templates: time 0.004267/1.008, allocations: 1.167 MB / 1.238 GB, free: 11.32 MB / 0.9512 GB " [Timeout remaining time 299] 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: 9.629523572511971]