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.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.001657/0.001657, allocations: 106.2 kB / 18.94 MB, free: 2.953 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.002143/0.002143, allocations: 195 kB / 22.23 MB, free: 5.133 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.478/1.478, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.231/3.231, allocations: 0.4893 GB / 0.7884 GB, free: 33.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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 0.002018/0.002018, allocations: 63.86 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3963, allocations: 174.9 MB / 1.316 GB, free: 9.738 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002691/0.3989, allocations: 0.9001 MB / 1.317 GB, free: 8.84 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.4005, allocations: 0.9013 MB / 1.318 GB, free: 7.926 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.4006, allocations: 4 kB / 1.318 GB, free: 7.922 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.097e-05/0.4007, allocations: 15.8 kB / 1.318 GB, free: 7.906 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.4008, allocations: 7.875 kB / 1.318 GB, free: 7.898 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.401, allocations: 67.91 kB / 1.318 GB, free: 7.832 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.4013, allocations: 139.7 kB / 1.318 GB, free: 7.695 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.4015, allocations: 45.41 kB / 1.318 GB, free: 7.645 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.4016, allocations: 55.78 kB / 1.318 GB, free: 7.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.608e-05/0.4017, allocations: 63.69 kB / 1.318 GB, free: 7.527 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.4018, allocations: 15.94 kB / 1.318 GB, free: 7.512 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.4018, allocations: 16 kB / 1.318 GB, free: 7.496 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.4018, allocations: 31.91 kB / 1.318 GB, free: 7.465 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.4019, allocations: 55.67 kB / 1.318 GB, free: 7.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.4021, allocations: 151.2 kB / 1.318 GB, free: 7.262 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4021, allocations: 0 / 1.318 GB, free: 7.262 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4021, allocations: 0 / 1.318 GB, free: 7.262 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.4021, allocations: 0 / 1.318 GB, free: 7.262 MB / 1.014 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.0007382/0.4029, allocations: 369.8 kB / 1.319 GB, free: 6.867 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4029, allocations: 8.031 kB / 1.319 GB, free: 6.859 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.403, allocations: 16.84 kB / 1.319 GB, free: 6.844 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.4033, allocations: 156.4 kB / 1.319 GB, free: 6.668 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.4033, allocations: 12.38 kB / 1.319 GB, free: 6.656 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.4034, allocations: 12.38 kB / 1.319 GB, free: 6.645 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.4037, allocations: 154.7 kB / 1.319 GB, free: 6.488 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4037, allocations: 4.188 kB / 1.319 GB, free: 6.484 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.4037, allocations: 7.938 kB / 1.319 GB, free: 6.477 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4038, allocations: 4 kB / 1.319 GB, free: 6.473 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.4041, allocations: 127.9 kB / 1.319 GB, free: 6.348 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008322/0.4049, allocations: 467.2 kB / 1.32 GB, free: 5.848 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.4051, allocations: 86.47 kB / 1.32 GB, free: 5.754 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.4052, allocations: 36.84 kB / 1.32 GB, free: 5.715 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.4053, allocations: 3.984 kB / 1.32 GB, free: 5.711 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.4053, allocations: 38.56 kB / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.4053, allocations: 0 / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0004939/0.4058, allocations: 165.6 kB / 1.32 GB, free: 5.496 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.4058, allocations: 51.41 kB / 1.32 GB, free: 5.434 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.406, allocations: 192.7 kB / 1.32 GB, free: 5.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.4061, allocations: 29.7 kB / 1.32 GB, free: 5.195 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.4062, allocations: 116 kB / 1.32 GB, free: 5.078 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.4062, allocations: 36.11 kB / 1.32 GB, free: 5.043 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.4063, allocations: 29.66 kB / 1.32 GB, free: 5.008 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4064, allocations: 326.8 kB / 1.321 GB, free: 4.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.4065, allocations: 39.97 kB / 1.321 GB, free: 4.641 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.4066, allocations: 43.91 kB / 1.321 GB, free: 4.598 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.4069, allocations: 96.81 kB / 1.321 GB, free: 4.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.4069, allocations: 0 / 1.321 GB, free: 4.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003223/0.4072, allocations: 156.4 kB / 1.321 GB, free: 4.344 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4072, allocations: 4 kB / 1.321 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4072, allocations: 0 / 1.321 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.4072, allocations: 7.984 kB / 1.321 GB, free: 4.332 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.4074, allocations: 23.92 kB / 1.321 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4074, allocations: 4 kB / 1.321 GB, free: 4.305 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.4075, allocations: 19.84 kB / 1.321 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4075, allocations: 4 kB / 1.321 GB, free: 4.281 MB / 1.014 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.0001093/0.4076, allocations: 130.6 kB / 1.321 GB, free: 4.145 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.4077, allocations: 15.91 kB / 1.321 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.408, allocations: 139 kB / 1.321 GB, free: 3.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.408, allocations: 4 kB / 1.321 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.408, allocations: 0 / 1.321 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.408, allocations: 0 / 1.321 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/0.4086, allocations: 431.9 kB / 1.322 GB, free: 3.496 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4086, allocations: 0 / 1.322 GB, free: 3.496 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.4087, allocations: 23.98 kB / 1.322 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4087, allocations: 0 / 1.322 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4088, allocations: 4 kB / 1.322 GB, free: 3.469 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4088, allocations: 4 kB / 1.322 GB, free: 3.465 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4088, allocations: 8.031 kB / 1.322 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.4091, allocations: 237.9 kB / 1.322 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.4091, allocations: 23.83 kB / 1.322 GB, free: 3.176 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.4092, allocations: 8 kB / 1.322 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.4093, allocations: 11.98 kB / 1.322 GB, free: 3.156 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.4093, allocations: 11.92 kB / 1.322 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.4094, allocations: 8 kB / 1.322 GB, free: 3.137 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001314/0.4095, allocations: 145.4 kB / 1.322 GB, free: 2.996 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4095, allocations: 0 / 1.322 GB, free: 2.996 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002515/0.4097, allocations: 27.94 kB / 1.322 GB, free: 2.969 MB / 1.014 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.0001354/0.4099, allocations: 95.25 kB / 1.322 GB, free: 2.867 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.4102, allocations: 95.88 kB / 1.323 GB, free: 2.773 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4102, allocations: 0 / 1.323 GB, free: 2.773 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.4103, allocations: 43.91 kB / 1.323 GB, free: 2.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.4106, allocations: 16 kB / 1.323 GB, free: 2.715 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.4112, allocations: 269.5 kB / 1.323 GB, free: 2.418 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.4115, allocations: 0.7084 MB / 1.324 GB, free: 1.684 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.401e-05/0.4116, allocations: 17.08 kB / 1.324 GB, free: 1.668 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.4116, allocations: 15.44 kB / 1.324 GB, free: 1.652 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.4116, allocations: 0 / 1.324 GB, free: 1.652 MB / 1.014 GB Notification: Performance of Templates: time 0.004448/0.4161, allocations: 1.227 MB / 1.325 GB, free: 436 kB / 1.014 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.248961364850402]