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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 108 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 186.2 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 67.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8748/0.8763, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002995/0.8793, allocations: 0.8866 MB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.881, allocations: 0.8936 MB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.8812, allocations: 0 / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.5e-05/0.8813, allocations: 15.8 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.8815, allocations: 11.88 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.8818, allocations: 63.91 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.8821, allocations: 143.7 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.8824, allocations: 61.41 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.8825, allocations: 47.84 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.8827, allocations: 59.69 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.8827, allocations: 12 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.391e-05/0.8828, allocations: 16 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.8828, allocations: 39.84 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.992e-05/0.8829, allocations: 55.66 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.8832, allocations: 147.5 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.8832, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.467e-06/0.8833, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.8833, allocations: 0 / 1.211 GB, free: 11.18 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.0008754/0.8842, allocations: 436.8 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.8842, allocations: 12.03 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.8843, allocations: 16.75 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.8846, allocations: 220 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.8846, allocations: 12.38 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.8847, allocations: 12.38 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.885, allocations: 142.2 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.8851, allocations: 4.125 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.8851, allocations: 15.94 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.8851, allocations: 0 / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.8854, allocations: 136.4 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008903/0.8863, allocations: 492 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.8866, allocations: 90.47 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.8867, allocations: 44.84 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.8867, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.8868, allocations: 34.56 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.8868, allocations: 0 / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0005557/0.8873, allocations: 169.6 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.8874, allocations: 55.39 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.8877, allocations: 195.4 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.8877, allocations: 25.7 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/0.8878, allocations: 112 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.8878, allocations: 31.47 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.508e-05/0.8879, allocations: 29.7 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.888, allocations: 330.8 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.8882, allocations: 35.97 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.8883, allocations: 43.97 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.8885, allocations: 96.2 kB / 1.214 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8886, allocations: 0 / 1.214 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003361/0.8889, allocations: 153.3 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.8889, allocations: 4 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8889, allocations: 0 / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.889, allocations: 0 / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.8891, allocations: 27.98 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.8891, allocations: 7.984 kB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.8893, allocations: 19.77 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.8893, allocations: 4 kB / 1.214 GB, free: 8.004 MB / 0.9356 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.0001212/0.8894, allocations: 125.8 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.8895, allocations: 15.81 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.8898, allocations: 143.3 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.8898, allocations: 3.938 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.8899, allocations: 4 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8899, allocations: 3.984 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/0.8905, allocations: 456.9 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.8905, allocations: 0 / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.8906, allocations: 19.98 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.8907, allocations: 4 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.8907, allocations: 0 / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.8907, allocations: 7.938 kB / 1.214 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8907, allocations: 0 / 1.214 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.8911, allocations: 245.9 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.8911, allocations: 92.92 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.8912, allocations: 7.984 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.8913, allocations: 19.98 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.8914, allocations: 11.92 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.8914, allocations: 8 kB / 1.215 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000124/0.8915, allocations: 144.1 kB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.8915, allocations: 0 / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002579/0.8918, allocations: 19.94 kB / 1.215 GB, free: 6.566 MB / 0.9356 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.0001842/0.892, allocations: 111.2 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003111/0.8923, allocations: 99.88 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8923, allocations: 0 / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.8925, allocations: 51.91 kB / 1.215 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.8928, allocations: 14.19 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.8934, allocations: 291.2 kB / 1.216 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.8938, allocations: 0.7045 MB / 1.216 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.8938, allocations: 19.44 kB / 1.216 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.8938, allocations: 4 kB / 1.216 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of Templates: time 0.003856/0.8977, allocations: 1.562 MB / 1.218 GB, free: 3.645 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches