Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_10_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_10_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.006342/0.006342, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001404/0.001404, allocations: 198.6 kB / 16.67 MB, free: 5.934 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437 MB / 0.7105 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002675/1.047, allocations: 0.8868 MB / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001503/1.049, allocations: 0.8999 MB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/1.049, allocations: 0 / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.461e-05/1.049, allocations: 15.8 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/1.049, allocations: 11.88 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/1.05, allocations: 55.92 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/1.05, allocations: 143.6 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/1.05, allocations: 57.47 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/1.05, allocations: 51.84 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.353e-05/1.05, allocations: 67.67 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/1.05, allocations: 12 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/1.05, allocations: 12 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/1.05, allocations: 35.84 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/1.05, allocations: 55.67 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/1.051, allocations: 140 kB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.051, allocations: 4 kB / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.062e-06/1.051, allocations: 0 / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.051, allocations: 0 / 1.169 GB, free: 1.426 MB / 0.8887 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.0007201/1.051, allocations: 450.9 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.051, allocations: 8.922 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/1.051, allocations: 16.84 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/1.052, allocations: 221 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/1.052, allocations: 12.38 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/1.052, allocations: 16.38 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/1.052, allocations: 142.2 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.052, allocations: 4.125 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/1.052, allocations: 15.94 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.052, allocations: 3.938 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/1.053, allocations: 129 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009363/1.054, allocations: 488.3 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/1.054, allocations: 86.42 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/1.054, allocations: 52.83 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/1.054, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.054, allocations: 34.56 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/1.054, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.000516/1.055, allocations: 157.7 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/1.055, allocations: 55.41 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/1.055, allocations: 196 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/1.055, allocations: 25.7 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/1.055, allocations: 128 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/1.055, allocations: 35.69 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/1.055, allocations: 29.7 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.055, allocations: 322.8 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/1.055, allocations: 43.91 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/1.055, allocations: 43.97 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/1.056, allocations: 94.45 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.056, allocations: 4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003165/1.056, allocations: 147.1 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.056, allocations: 4 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.056, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.056, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/1.056, allocations: 27.92 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.056, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.885e-05/1.056, allocations: 27.88 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/1.056, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 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.0001178/1.056, allocations: 121.8 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/1.057, allocations: 15.91 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/1.057, allocations: 143.3 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.057, allocations: 3.938 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/1.057, allocations: 4 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.057, allocations: 4 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005902/1.058, allocations: 464.7 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.058, allocations: 0 / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/1.058, allocations: 19.98 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.058, allocations: 8.094 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/1.058, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.058, allocations: 4 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.058, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/1.058, allocations: 245.9 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/1.058, allocations: 96.95 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/1.058, allocations: 7.984 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/1.058, allocations: 15.98 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/1.058, allocations: 11.92 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/1.058, allocations: 11.98 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001135/1.058, allocations: 136.1 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.2e-07/1.058, allocations: 4 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003299/1.059, allocations: 24 kB / 1.173 GB, free: 12.79 MB / 0.9044 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.0001687/1.059, allocations: 107.2 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003087/1.059, allocations: 91.89 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.059, allocations: 0 / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/1.059, allocations: 52.09 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/1.06, allocations: 21.05 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/1.06, allocations: 261.3 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/1.061, allocations: 0.7084 MB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.558e-05/1.061, allocations: 13.08 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/1.061, allocations: 15.44 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/1.061, allocations: 192 / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of Templates: time 0.004139/1.065, allocations: 1.165 MB / 1.176 GB, free: 10.3 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches