Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009478/0.0009478, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.002062, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007137/0.0007137, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009595/0.001673, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9335/0.9335, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08058/1.014, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.378/2.378, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2539/2.632, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.372e-05, allocations: 4.562 kB / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.00136/0.001374, allocations: 0.913 MB / 0.8199 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008176/0.002192, allocations: 0.9404 MB / 0.8208 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.002248, allocations: 7.938 kB / 0.8208 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.002275, allocations: 15.81 kB / 0.8208 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.491e-05/0.00231, allocations: 7.875 kB / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.002412, allocations: 63.84 kB / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.002549, allocations: 131.8 kB / 0.821 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.002658, allocations: 50.23 kB / 0.8211 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.002753, allocations: 87.8 kB / 0.8212 GB, free: 192 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.002808, allocations: 47.8 kB / 0.8212 GB, free: 144 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.002829, allocations: 12 kB / 0.8212 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.002841, allocations: 12 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.002864, allocations: 23.94 kB / 0.8212 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.00289, allocations: 31.94 kB / 0.8213 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.002995, allocations: 83.61 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.003003, allocations: 0 / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003005, allocations: 4 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.003014, allocations: 0 / 0.8214 GB, free: 15.98 MB / 0.8073 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.0003948/0.003409, allocations: 352.2 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.003435, allocations: 8.031 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.003474, allocations: 24.86 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.003614, allocations: 153.5 kB / 0.8219 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.003625, allocations: 12.38 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.00364, allocations: 12.38 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.003803, allocations: 204.7 kB / 0.8221 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.00381, allocations: 4.188 kB / 0.8221 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.003819, allocations: 4.375 kB / 0.8221 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.003824, allocations: 4.375 kB / 0.8221 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081e-05/0.003875, allocations: 35.92 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.004225, allocations: 299.8 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.169e-05/0.004296, allocations: 58.47 kB / 0.8225 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.004317, allocations: 12.86 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.004332, allocations: 0 / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.004351, allocations: 42.55 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 8.01e-07/0.004352, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001212/0.004474, allocations: 69.8 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.004496, allocations: 59.34 kB / 0.8227 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.004569, allocations: 146 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.004583, allocations: 29.7 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.004633, allocations: 119.8 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.004651, allocations: 39.69 kB / 0.823 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.004684, allocations: 25.7 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.004758, allocations: 318.8 kB / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.004775, allocations: 8 kB / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.004796, allocations: 15.98 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.302e-05/0.004849, allocations: 47.38 kB / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.00485, allocations: 0 / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.482e-05/0.004925, allocations: 69.67 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.004937, allocations: 8 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.004939, allocations: 0 / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.004952, allocations: 3.938 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.005037, allocations: 35.92 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.005039, allocations: 0 / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.005074, allocations: 7.953 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.00508, allocations: 7.938 kB / 0.8235 GB, free: 13.61 MB / 0.8073 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.418e-05/0.005135, allocations: 113.8 kB / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.005153, allocations: 11.98 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.684e-05/0.00525, allocations: 86.31 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.005252, allocations: 4 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.005255, allocations: 3.938 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005257, allocations: 0 / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.005453, allocations: 261.2 kB / 0.824 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005454, allocations: 0 / 0.824 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.005504, allocations: 27.92 kB / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.005515, allocations: 15.89 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005516, allocations: 0 / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.005521, allocations: 4.094 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.005524, allocations: 7.984 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005525, allocations: 0 / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.904e-05/0.005624, allocations: 182.1 kB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.005635, allocations: 7.938 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.012e-05/0.005686, allocations: 11.98 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.00571, allocations: 7.984 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.005715, allocations: 8 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.96e-05/0.005735, allocations: 24.83 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005735, allocations: 0 / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001268/0.005862, allocations: 35.89 kB / 0.8243 GB, free: 12.73 MB / 0.8073 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.574e-05/0.005928, allocations: 80.36 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.645e-05/0.006014, allocations: 52.77 kB / 0.8244 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.00602, allocations: 0 / 0.8244 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.006061, allocations: 32.78 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.00622, allocations: 53.69 kB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.00663, allocations: 264.2 kB / 0.8247 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.48e-05/0.006665, allocations: 67.34 kB / 0.8248 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.006694, allocations: 8.484 kB / 0.8248 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.00676, allocations: 75.3 kB / 0.8249 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.00676, allocations: 4 kB / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of Templates: time 0.002375/0.009135, allocations: 1.053 MB / 0.8259 GB, free: 10.99 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.112011640332639]