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.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.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.007339/0.007339, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001813/0.001813, allocations: 195.6 kB / 16.79 MB, free: 6.254 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.782/2.782, allocations: 461.9 MB / 0.7348 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 62.09 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3064, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002396/0.3088, allocations: 0.888 MB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001399/0.309, allocations: 39.8 kB / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.3091, allocations: 0 / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.69e-05/0.3092, allocations: 7.922 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/0.3093, allocations: 15.92 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.502e-05/0.3093, allocations: 12 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3094, allocations: 59.75 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.3096, allocations: 39.97 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.377e-05/0.3097, allocations: 31.8 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.3098, allocations: 23.8 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3098, allocations: 4 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/0.3098, allocations: 4 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.3098, allocations: 15.98 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.3099, allocations: 31.73 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.193e-05/0.31, allocations: 52.17 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.31, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.31, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.31, allocations: 4 kB / 1.054 GB, free: 7.086 MB / 0.8106 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.000469/0.3105, allocations: 383.3 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3105, allocations: 8.031 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.3106, allocations: 12.84 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.3108, allocations: 192.1 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3109, allocations: 4.375 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.3109, allocations: 8.375 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.3111, allocations: 105 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3111, allocations: 192 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3111, allocations: 7.875 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3111, allocations: 0 / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.3112, allocations: 39.92 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.3118, allocations: 440.5 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.3119, allocations: 41.28 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.3119, allocations: 17.84 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.3119, allocations: 0 / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.312, allocations: 38.56 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.312, allocations: 0 / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.3122, allocations: 65.41 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.3122, allocations: 77.11 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3124, allocations: 168.4 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.3124, allocations: 25.7 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.3125, allocations: 104 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-06/0.3125, allocations: 3.906 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.3125, allocations: 21.97 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3126, allocations: 322.8 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.3127, allocations: 4 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.3127, allocations: 17.72 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.3127, allocations: 21.72 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3127, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.964e-05/0.3128, allocations: 69.53 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3129, allocations: 4 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3129, allocations: 3.938 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3129, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.313, allocations: 8 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.313, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.313, allocations: 11.83 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.313, allocations: 4 kB / 1.056 GB, free: 4.641 MB / 0.8106 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.86e-05/0.3131, allocations: 121.8 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.3132, allocations: 7.906 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.3132, allocations: 11.81 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.3132, allocations: 4 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3132, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3132, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.3136, allocations: 470.8 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3136, allocations: 4.062 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.3137, allocations: 7.984 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3137, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3137, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3137, allocations: 3.938 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3137, allocations: 4 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.849e-05/0.3138, allocations: 81.83 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.3138, allocations: 85.05 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3139, allocations: 7.938 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.3139, allocations: 4 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.3139, allocations: 3.938 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3139, allocations: 8 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.663e-05/0.314, allocations: 118.5 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.314, allocations: 4 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001863/0.3142, allocations: 4 kB / 1.057 GB, free: 3.598 MB / 0.8106 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.0001323/0.3143, allocations: 107.2 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.996e-05/0.3144, allocations: 12 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3144, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.3145, allocations: 7.938 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.3146, allocations: 13.83 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.315, allocations: 210.5 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.3152, allocations: 0.6926 MB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.3153, allocations: 11.44 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3153, allocations: 0 / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of Templates: time 0.002481/0.3178, allocations: 0.8521 MB / 1.059 GB, free: 1.621 MB / 0.8106 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/jenkins1/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