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.01067/0.01067, allocations: 99.98 kB / 15.73 MB, free: 6.02 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.001668/0.001668, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.536/1.536, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.42/2.42, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.91 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.207, allocations: 140.4 MB / 1.088 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002017/1.209, allocations: 0.8975 MB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001026/1.21, allocations: 0.8837 MB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/1.21, allocations: 6.594 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.366e-05/1.21, allocations: 10.08 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.913e-05/1.21, allocations: 13.78 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/1.211, allocations: 62.31 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/1.211, allocations: 136.2 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/1.211, allocations: 62.25 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/1.211, allocations: 54.45 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/1.211, allocations: 67.58 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/1.211, allocations: 16.84 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.494e-05/1.211, allocations: 12.88 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/1.211, allocations: 31 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/1.212, allocations: 57.17 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/1.212, allocations: 147.9 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/1.212, allocations: 0.6562 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/1.212, allocations: 1.156 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.212, allocations: 0 / 1.09 GB, free: 3.941 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.0006564/1.212, allocations: 453 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.213, allocations: 9.156 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/1.213, allocations: 16.66 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/1.213, allocations: 213.8 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/1.213, allocations: 9.688 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/1.213, allocations: 13.78 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/1.213, allocations: 151 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.213, allocations: 192 / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/1.213, allocations: 9.125 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/1.213, allocations: 4.422 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/1.214, allocations: 128.5 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008702/1.215, allocations: 0.4901 MB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/1.215, allocations: 86.47 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/1.215, allocations: 45.7 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/1.215, allocations: 6.688 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/1.215, allocations: 36.16 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/1.215, allocations: 3.938 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005781/1.216, allocations: 158.1 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/1.216, allocations: 53.66 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/1.216, allocations: 190.7 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.216, allocations: 27.52 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/1.216, allocations: 121.8 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/1.216, allocations: 31.19 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/1.216, allocations: 32.97 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.367e-05/1.216, allocations: 321.5 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/1.216, allocations: 41.36 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/1.217, allocations: 49.67 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/1.217, allocations: 94.98 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.217, allocations: 0 / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003511/1.217, allocations: 148.5 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.217, allocations: 5.062 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/1.217, allocations: 5.312 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/1.217, allocations: 0.7812 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/1.217, allocations: 24.64 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/1.217, allocations: 0.6875 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/1.218, allocations: 29.12 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/1.218, allocations: 7 kB / 1.093 GB, free: 1.723 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 0.0001021/1.218, allocations: 127.8 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/1.218, allocations: 14.61 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/1.218, allocations: 137.3 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.218, allocations: 1.875 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.218, allocations: 4 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.218, allocations: 1.922 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/1.219, allocations: 451.8 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.219, allocations: 1.891 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/1.219, allocations: 28.59 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/1.219, allocations: 6.109 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/1.219, allocations: 2.188 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.219, allocations: 2 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.219, allocations: 1.656 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/1.219, allocations: 245.7 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/1.219, allocations: 91.19 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/1.219, allocations: 6.516 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/1.22, allocations: 13.17 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/1.22, allocations: 16.22 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/1.22, allocations: 3.469 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001248/1.22, allocations: 147.5 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.22, allocations: 4 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002523/1.22, allocations: 31.3 kB / 1.095 GB, free: 0.6992 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.0001844/1.22, allocations: 107.7 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003526/1.221, allocations: 95.39 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.221, allocations: 0 / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/1.221, allocations: 51.97 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/1.221, allocations: 15.64 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/1.222, allocations: 243.2 kB / 1.095 GB, free: 376 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/1.222, allocations: 0.7101 MB / 1.096 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.245e-05/1.222, allocations: 12.84 kB / 1.096 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/1.222, allocations: 16.81 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of SimCode: time 1.583e-06/1.222, allocations: 0 / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.004735/1.227, allocations: 1.183 MB / 1.097 GB, free: 15.53 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/jenkins/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