Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.006325/0.006325, allocations: 99.31 kB / 15.73 MB, free: 6.059 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.001104/0.001104, allocations: 191.6 kB / 16.68 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.372/2.372, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.05 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.101, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002098/1.104, allocations: 0.8218 MB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001208/1.104, allocations: 41 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/1.104, allocations: 5.125 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/1.104, allocations: 10.55 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.599e-05/1.104, allocations: 13.38 kB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.631e-05/1.104, allocations: 16.52 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000113/1.104, allocations: 60.02 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/1.104, allocations: 45.38 kB / 1.089 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/1.104, allocations: 30.53 kB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/1.104, allocations: 31 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/1.104, allocations: 5.781 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.682e-05/1.104, allocations: 6.562 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/1.105, allocations: 12.58 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/1.105, allocations: 31.94 kB / 1.089 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/1.105, allocations: 79.45 kB / 1.089 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.105, allocations: 4 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/1.105, allocations: 1.312 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.105, allocations: 0 / 1.089 GB, free: 4.754 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004333/1.105, allocations: 380.6 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.105, allocations: 9.594 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/1.105, allocations: 9.328 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/1.105, allocations: 192 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/1.105, allocations: 8.266 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/1.105, allocations: 9.531 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/1.106, allocations: 101.2 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.106, allocations: 0.9375 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/1.106, allocations: 9 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/1.106, allocations: 2.312 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.04e-05/1.106, allocations: 38.97 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/1.106, allocations: 439.2 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.955e-05/1.106, allocations: 45.53 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/1.107, allocations: 20.67 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/1.107, allocations: 0.7031 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/1.107, allocations: 36.17 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/1.107, allocations: 1.062 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001768/1.107, allocations: 55.81 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/1.107, allocations: 78.72 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/1.107, allocations: 158.8 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/1.107, allocations: 26.64 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/1.107, allocations: 107.9 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/1.107, allocations: 9.828 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/1.107, allocations: 18.64 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.947e-05/1.107, allocations: 318.8 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/1.107, allocations: 8.172 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/1.107, allocations: 16.47 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/1.107, allocations: 31.02 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.107, allocations: 9.25 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.607e-05/1.107, allocations: 57.77 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.107, allocations: 4.719 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.107, allocations: 3.938 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.107, allocations: 2.078 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/1.107, allocations: 6.266 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.107, allocations: 1.156 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/1.107, allocations: 14.8 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/1.107, allocations: 1.344 kB / 1.091 GB, free: 2.668 MB / 0.8575 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 5.929e-05/1.108, allocations: 118.4 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/1.108, allocations: 7.172 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/1.108, allocations: 16.98 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.108, allocations: 1.938 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.108, allocations: 0.5156 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.108, allocations: 0 / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/1.108, allocations: 475 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.108, allocations: 0.5156 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/1.108, allocations: 12.27 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.108, allocations: 1.219 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/1.108, allocations: 0 / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.108, allocations: 1.641 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.108, allocations: 1.344 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.316e-05/1.108, allocations: 84.8 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/1.108, allocations: 89.52 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/1.108, allocations: 1.672 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/1.108, allocations: 1.547 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/1.108, allocations: 1.562 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/1.108, allocations: 1.156 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.502e-05/1.108, allocations: 121.9 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.108, allocations: 0 / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001909/1.109, allocations: 11.23 kB / 1.092 GB, free: 1.75 MB / 0.8575 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.0001214/1.109, allocations: 101.9 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001021/1.109, allocations: 20.25 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.109, allocations: 0.7812 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.398e-05/1.109, allocations: 8.906 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/1.109, allocations: 10.44 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/1.109, allocations: 162.2 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/1.109, allocations: 0.6925 MB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.608e-05/1.109, allocations: 7.609 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/1.109, allocations: 10.88 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/1.109, allocations: 0 / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of Templates: time 0.002835/1.112, allocations: 469.8 kB / 1.094 GB, free: 0.6914 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches