Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 116.2 kB / 16.38 MB, free: 6.352 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.001721/0.001722, allocations: 188.8 kB / 17.31 MB, free: 5.895 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.553/1.553, 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 11.0.0-master/package.mo): time 2.555/2.555, allocations: 442.7 MB / 0.7166 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 63.84 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.097, allocations: 153 MB / 1.177 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002051/1.099, allocations: 0.8191 MB / 1.178 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000117/1.099, allocations: 47.78 kB / 1.178 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/1.099, allocations: 0 / 1.178 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/1.099, allocations: 11.88 kB / 1.178 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.09e-05/1.099, allocations: 7.922 kB / 1.178 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 5.636e-05/1.099, allocations: 15.98 kB / 1.178 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/1.099, allocations: 63.78 kB / 1.178 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/1.099, allocations: 51.89 kB / 1.178 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/1.1, allocations: 27.86 kB / 1.178 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.728e-05/1.1, allocations: 23.86 kB / 1.178 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/1.1, allocations: 8 kB / 1.178 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.329e-05/1.1, allocations: 8 kB / 1.178 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/1.1, allocations: 15.92 kB / 1.178 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/1.1, allocations: 31.75 kB / 1.178 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/1.1, allocations: 79.62 kB / 1.178 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.1, allocations: 0 / 1.178 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.587e-06/1.1, allocations: 4 kB / 1.178 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.408e-06/1.1, allocations: 0 / 1.178 GB, free: 9.535 MB / 0.9044 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.0006741/1.101, allocations: 380.8 kB / 1.178 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/1.101, allocations: 8.031 kB / 1.178 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/1.101, allocations: 12.84 kB / 1.178 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/1.101, allocations: 188.2 kB / 1.179 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/1.101, allocations: 12.31 kB / 1.179 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/1.101, allocations: 8.375 kB / 1.179 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/1.101, allocations: 93.98 kB / 1.179 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/1.101, allocations: 4.188 kB / 1.179 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/1.101, allocations: 7.938 kB / 1.179 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.101, allocations: 0 / 1.179 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.367e-05/1.102, allocations: 35.92 kB / 1.179 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007157/1.102, allocations: 444.6 kB / 1.179 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.432e-05/1.102, allocations: 41.19 kB / 1.179 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/1.102, allocations: 21.84 kB / 1.179 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/1.102, allocations: 0 / 1.179 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.102, allocations: 30.56 kB / 1.179 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/1.102, allocations: 4 kB / 1.179 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.000222/1.103, allocations: 61.47 kB / 1.179 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/1.103, allocations: 77.11 kB / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/1.103, allocations: 160.1 kB / 1.179 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/1.103, allocations: 29.64 kB / 1.179 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/1.103, allocations: 108 kB / 1.18 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/1.103, allocations: 3.906 kB / 1.18 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/1.103, allocations: 21.97 kB / 1.18 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.103, allocations: 318.8 kB / 1.18 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/1.103, allocations: 8 kB / 1.18 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/1.103, allocations: 21.66 kB / 1.18 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/1.103, allocations: 29.64 kB / 1.18 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.103, allocations: 0 / 1.18 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.659e-05/1.103, allocations: 61.55 kB / 1.18 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.104, allocations: 8 kB / 1.18 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.104, allocations: 0 / 1.18 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.104, allocations: 3.938 kB / 1.18 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/1.104, allocations: 8 kB / 1.18 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/1.104, allocations: 3.984 kB / 1.18 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/1.104, allocations: 3.906 kB / 1.18 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/1.104, allocations: 4 kB / 1.18 GB, free: 7.102 MB / 0.9044 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 8.733e-05/1.104, allocations: 117.9 kB / 1.18 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.009e-05/1.104, allocations: 7.906 kB / 1.18 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/1.104, allocations: 7.812 kB / 1.18 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.104, allocations: 4 kB / 1.18 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.104, allocations: 0 / 1.18 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/1.104, allocations: 89 kB / 1.18 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/1.104, allocations: 4 kB / 1.18 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.961e-05/1.104, allocations: 0 / 1.18 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/1.104, allocations: 3.938 kB / 1.18 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001387/1.104, allocations: 196.3 kB / 1.18 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001739/1.104, allocations: 305.9 kB / 1.181 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.069e-05/1.104, allocations: 4 kB / 1.181 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.922e-05/1.105, allocations: 121.7 kB / 1.181 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of Backend: time 3.21e-07/1.105, allocations: 4.094 kB / 1.181 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005039/1.105, allocations: 90.34 kB / 1.181 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006311/1.106, allocations: 0.6161 MB / 1.182 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of Templates: time 0.002799/1.109, allocations: 0.5083 MB / 1.182 GB, free: 4.93 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches