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.007797/0.007797, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001551/0.001551, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.518/1.518, 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 9.1.3-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 60.09 kB / 0.9509 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247/1.248, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002349/1.251, allocations: 0.896 MB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001427/1.252, allocations: 0.8936 MB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.89e-05/1.252, allocations: 2 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.118e-05/1.252, allocations: 10.45 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.861e-05/1.252, allocations: 12.97 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/1.253, allocations: 59.25 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/1.253, allocations: 143.9 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/1.253, allocations: 57.8 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/1.253, allocations: 60.3 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/1.254, allocations: 61.62 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/1.254, allocations: 13.34 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-05/1.254, allocations: 13.09 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/1.254, allocations: 31.88 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/1.254, allocations: 56.88 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/1.254, allocations: 139.7 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.254, allocations: 0 / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/1.254, allocations: 0 / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.325e-05/1.254, allocations: 1.062 kB / 1.09 GB, free: 3.906 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.0006892/1.255, allocations: 448.5 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/1.255, allocations: 9.625 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/1.255, allocations: 17.73 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/1.255, allocations: 209 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/1.255, allocations: 9.562 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/1.255, allocations: 16.69 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/1.256, allocations: 156 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.256, allocations: 192 / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/1.256, allocations: 9 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.256, allocations: 4.031 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/1.256, allocations: 124 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/1.257, allocations: 498.6 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/1.257, allocations: 90.22 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/1.257, allocations: 44.91 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/1.257, allocations: 2.578 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/1.257, allocations: 37.64 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 3.256e-06/1.257, allocations: 0 / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005303/1.258, allocations: 165 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/1.258, allocations: 52.81 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/1.258, allocations: 192.1 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/1.258, allocations: 26.7 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/1.258, allocations: 118.6 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/1.258, allocations: 38.34 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/1.258, allocations: 28.66 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.265e-05/1.258, allocations: 327.1 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/1.259, allocations: 40.66 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/1.259, allocations: 42.28 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/1.259, allocations: 101.3 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.259, allocations: 0 / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003289/1.259, allocations: 140.6 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.259, allocations: 5.422 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.259, allocations: 1.25 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.259, allocations: 0 / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.259, allocations: 28.27 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.26, allocations: 2.391 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.384e-05/1.26, allocations: 32.53 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/1.26, allocations: 1.906 kB / 1.093 GB, free: 1.699 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 8.404e-05/1.26, allocations: 124.8 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/1.26, allocations: 10.12 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/1.26, allocations: 141.3 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.26, allocations: 1.531 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.26, allocations: 4 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/1.26, allocations: 1.484 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/1.261, allocations: 457.5 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.261, allocations: 1.156 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/1.261, allocations: 21.84 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.261, allocations: 5.281 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/1.261, allocations: 2.188 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.261, allocations: 1.844 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.261, allocations: 5.094 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/1.261, allocations: 246.7 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/1.261, allocations: 95.27 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/1.261, allocations: 2.781 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/1.262, allocations: 21.39 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/1.262, allocations: 14.86 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/1.262, allocations: 3.656 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001653/1.262, allocations: 147.1 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.262, allocations: 4 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002656/1.262, allocations: 26.69 kB / 1.095 GB, free: 0.6758 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.0001748/1.262, allocations: 105.1 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003465/1.263, allocations: 102.7 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.263, allocations: 0 / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/1.263, allocations: 51.69 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/1.263, allocations: 16.5 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/1.264, allocations: 247.1 kB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/1.264, allocations: 0.7109 MB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.447e-05/1.264, allocations: 12.86 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/1.264, allocations: 16.06 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/1.264, allocations: 0.75 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of Templates: time 0.005086/1.269, allocations: 1.167 MB / 1.097 GB, free: 15.52 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