Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 108.6 kB / 16.41 MB, free: 6.441 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.002066/0.002066, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.878/0.8795, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002015/0.8815, allocations: 0.8955 MB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.8827, allocations: 0.8904 MB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.8828, allocations: 2.188 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.296e-05/0.8828, allocations: 18.11 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.8829, allocations: 13.52 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.8832, allocations: 62.25 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.8834, allocations: 140 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.8836, allocations: 63.78 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.8837, allocations: 52.47 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.8838, allocations: 62.89 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.8838, allocations: 13.28 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.684e-05/0.8838, allocations: 12.88 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.8839, allocations: 30.09 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.8839, allocations: 57.81 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.8841, allocations: 150.6 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8842, allocations: 1.953 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8842, allocations: 0 / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.8842, allocations: 0 / 1.091 GB, free: 3.91 MB / 0.8575 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.0006256/0.8848, allocations: 441.1 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.8849, allocations: 9.531 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.8849, allocations: 16.53 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.8852, allocations: 213.5 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.8852, allocations: 10.03 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.8852, allocations: 13.31 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.8856, allocations: 146.4 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.8856, allocations: 192 / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.8856, allocations: 10.86 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.8856, allocations: 2.688 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.8859, allocations: 129.2 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.8867, allocations: 0.4906 MB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.887, allocations: 89.36 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.8871, allocations: 49.95 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.8871, allocations: 2.219 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.8872, allocations: 32.53 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.8872, allocations: 1.062 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004975/0.8877, allocations: 157.3 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.8877, allocations: 56.97 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.8879, allocations: 191.5 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.8879, allocations: 31.41 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.888, allocations: 113.5 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.888, allocations: 35.02 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.888, allocations: 27.58 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.8881, allocations: 323.9 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.8882, allocations: 52.47 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.8884, allocations: 42.36 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.8886, allocations: 91.64 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8886, allocations: 0 / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003302/0.889, allocations: 144.3 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.889, allocations: 5.375 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.889, allocations: 4.844 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.889, allocations: 4.766 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.8892, allocations: 29.08 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.8892, allocations: 0.7188 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.8893, allocations: 28.67 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.8893, allocations: 3.672 kB / 1.094 GB, free: 1.715 MB / 0.8575 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 7.634e-05/0.8894, allocations: 123.5 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.8895, allocations: 10.88 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.8898, allocations: 144.1 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.8898, allocations: 2.328 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8898, allocations: 0 / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.8899, allocations: 1.391 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.8904, allocations: 452.3 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8904, allocations: 1.438 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.8905, allocations: 25.75 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.8906, allocations: 1.469 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.8906, allocations: 6.016 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.8906, allocations: 2.281 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8906, allocations: 1.406 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.8909, allocations: 245.7 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.8909, allocations: 99.41 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.891, allocations: 7.203 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.8911, allocations: 16.97 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.8912, allocations: 19.16 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.8912, allocations: 4.156 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001107/0.8913, allocations: 146 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8913, allocations: 0.7812 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002584/0.8916, allocations: 26.16 kB / 1.095 GB, free: 0.6914 MB / 0.8575 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.0001342/0.8917, allocations: 105.2 kB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.8921, allocations: 102.9 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8921, allocations: 0 / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.8922, allocations: 47.5 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.8925, allocations: 16.83 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.893, allocations: 274 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.8933, allocations: 0.7065 MB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.8934, allocations: 16.34 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of SimCode: time 1.9e-07/0.8934, allocations: 0 / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.003946/0.8973, allocations: 1.562 MB / 1.098 GB, free: 15.49 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches