Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001693/0.001693, allocations: 110.5 kB / 16.42 MB, free: 6.496 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.001763/0.001763, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.499/1.499, allocations: 222.9 MB / 241.1 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.654/2.654, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.083, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002269/1.085, allocations: 0.8332 MB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001231/1.085, allocations: 39.78 kB / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/1.085, allocations: 0 / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/1.085, allocations: 7.875 kB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/1.085, allocations: 19.86 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.599e-05/1.085, allocations: 11.98 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/1.086, allocations: 63.84 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/1.086, allocations: 39.98 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/1.086, allocations: 27.86 kB / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/1.086, allocations: 39.77 kB / 1.168 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/1.086, allocations: 4 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/1.086, allocations: 8 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/1.086, allocations: 15.94 kB / 1.168 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/1.086, allocations: 31.8 kB / 1.168 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/1.086, allocations: 71.22 kB / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/1.086, allocations: 4 kB / 1.169 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.954e-06/1.086, allocations: 0 / 1.169 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.999e-06/1.086, allocations: 0 / 1.169 GB, free: 2.648 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005123/1.087, allocations: 380.1 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.087, allocations: 12.62 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/1.087, allocations: 20.78 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/1.087, allocations: 192.2 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/1.087, allocations: 12.31 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/1.087, allocations: 4.375 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/1.087, allocations: 105.1 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.087, allocations: 192 / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/1.087, allocations: 7.938 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.087, allocations: 4 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/1.087, allocations: 31.98 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/1.088, allocations: 444.7 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.058e-05/1.088, allocations: 37.22 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/1.088, allocations: 17.78 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/1.088, allocations: 4 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.088, allocations: 42.58 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/1.088, allocations: 0 / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002047/1.088, allocations: 53.53 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/1.088, allocations: 77.11 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/1.089, allocations: 160.7 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/1.089, allocations: 29.95 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/1.089, allocations: 104 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/1.089, allocations: 11.94 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/1.089, allocations: 13.72 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.089, allocations: 322.8 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/1.089, allocations: 8 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.212e-05/1.089, allocations: 17.7 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/1.089, allocations: 29.72 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.089, allocations: 3.938 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.134e-05/1.089, allocations: 57.61 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.089, allocations: 4 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/1.089, allocations: 0 / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.089, allocations: 7.922 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/1.089, allocations: 8 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.089, allocations: 7.875 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/1.089, allocations: 16 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/1.089, allocations: 0 / 1.171 GB, free: 196 kB / 0.8887 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.999e-05/1.089, allocations: 109.8 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/1.089, allocations: 11.95 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/1.09, allocations: 15.8 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/1.09, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/1.09, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/1.09, allocations: 89.06 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/1.09, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/1.09, allocations: 7.938 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/1.09, allocations: 3.984 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001182/1.09, allocations: 196.2 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001578/1.09, allocations: 302 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.033e-05/1.09, allocations: 7.938 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.044e-05/1.09, allocations: 121.7 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of Backend: time 3.61e-07/1.09, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004283/1.091, allocations: 92.45 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005173/1.091, allocations: 0.608 MB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of Templates: time 0.002789/1.094, allocations: 0.5202 MB / 1.173 GB, free: 14.01 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches