Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007492/0.007492, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001628/0.001628, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.489/1.489, 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 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.11, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002135/1.112, allocations: 0.8217 MB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001211/1.113, allocations: 43.78 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/1.113, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.494e-05/1.113, allocations: 7.875 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.926e-05/1.113, allocations: 15.86 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.734e-05/1.113, allocations: 19.92 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/1.113, allocations: 63.84 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/1.113, allocations: 43.92 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/1.113, allocations: 27.91 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/1.113, allocations: 31.78 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/1.113, allocations: 8 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.168e-06/1.113, allocations: 8 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/1.113, allocations: 15.88 kB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/1.113, allocations: 39.8 kB / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/1.113, allocations: 67.7 kB / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.113, allocations: 0 / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/1.113, allocations: 0 / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.72e-06/1.113, allocations: 0 / 1.209 GB, free: 12.39 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004249/1.114, allocations: 384.8 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.114, allocations: 12.03 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/1.114, allocations: 8.844 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/1.114, allocations: 196.1 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.114, allocations: 8.375 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/1.114, allocations: 4.375 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/1.114, allocations: 97.66 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.114, allocations: 4.125 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.114, allocations: 7.938 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/1.114, allocations: 4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/1.115, allocations: 27.98 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/1.115, allocations: 440.7 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.491e-05/1.115, allocations: 37.09 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/1.115, allocations: 25.84 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/1.115, allocations: 3.984 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/1.115, allocations: 38.5 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.115, allocations: 0 / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001695/1.115, allocations: 53.55 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/1.116, allocations: 81.05 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/1.116, allocations: 160.7 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/1.116, allocations: 29.7 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/1.116, allocations: 104 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/1.116, allocations: 11.89 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/1.116, allocations: 13.72 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.116, allocations: 322.8 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/1.116, allocations: 8 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/1.116, allocations: 21.64 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/1.116, allocations: 29.72 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.116, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.962e-05/1.116, allocations: 57.55 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.116, allocations: 4 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.116, allocations: 7.922 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.116, allocations: 0 / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/1.116, allocations: 8 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/1.116, allocations: 4.062 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/1.116, allocations: 11.84 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/1.116, allocations: 7.938 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.545e-05/1.116, allocations: 109.8 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/1.116, allocations: 7.906 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/1.116, allocations: 15.8 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.116, allocations: 4 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.116, allocations: 0 / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.116, allocations: 0 / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/1.117, allocations: 474.8 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.117, allocations: 0 / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/1.117, allocations: 4 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.117, allocations: 0 / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/1.117, allocations: 0 / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.117, allocations: 4 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.117, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.97e-05/1.117, allocations: 85.83 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/1.117, allocations: 92.95 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/1.117, allocations: 3.984 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.934e-05/1.117, allocations: 0 / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/1.117, allocations: 0 / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/1.117, allocations: 4.094 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.171e-05/1.117, allocations: 123.3 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.117, allocations: 0 / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001817/1.117, allocations: 7.906 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001336/1.118, allocations: 103.2 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000113/1.118, allocations: 15.94 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.118, allocations: 0 / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.316e-05/1.118, allocations: 7.984 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/1.118, allocations: 20.17 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/1.118, allocations: 158.8 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/1.119, allocations: 0.6924 MB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.422e-05/1.119, allocations: 8.422 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/1.119, allocations: 15.38 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/1.119, allocations: 4 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.002531/1.121, allocations: 464.4 kB / 1.213 GB, free: 7.367 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches