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.001493/0.001493, allocations: 110.9 kB / 16.41 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.001671/0.001671, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 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.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8442, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002196/0.8464, allocations: 0.8293 MB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.8466, allocations: 36.94 kB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.8466, allocations: 2.25 kB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.8467, allocations: 13.89 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.953e-05/0.8468, allocations: 10.59 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.39e-05/0.8468, allocations: 19.44 kB / 1.09 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.847, allocations: 64.42 kB / 1.09 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.8471, allocations: 37.28 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.8472, allocations: 26.97 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.8473, allocations: 34.08 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.8473, allocations: 6.031 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.8473, allocations: 6.156 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.8474, allocations: 16.03 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.8474, allocations: 32.41 kB / 1.09 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.8475, allocations: 71.8 kB / 1.09 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8476, allocations: 4.641 kB / 1.09 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8476, allocations: 4 kB / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.8476, allocations: 1.031 kB / 1.09 GB, free: 4.785 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.000415/0.848, allocations: 373.5 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.848, allocations: 9.734 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.8481, allocations: 18.19 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.8483, allocations: 191.9 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.8483, allocations: 3.844 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.8483, allocations: 12.55 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.8485, allocations: 95.06 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.8485, allocations: 0.75 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.8485, allocations: 9.031 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.8485, allocations: 2.156 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.807e-05/0.8486, allocations: 35.69 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.8492, allocations: 441.7 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.608e-05/0.8492, allocations: 42.16 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.8493, allocations: 20.64 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.8493, allocations: 1.531 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.8493, allocations: 36.25 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.8493, allocations: 4 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.8495, allocations: 60.08 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.8495, allocations: 78.95 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.8497, allocations: 155.9 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.8497, allocations: 30.45 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.8498, allocations: 103.7 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.8498, allocations: 6.656 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.8498, allocations: 21.58 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.8499, allocations: 319.6 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.8499, allocations: 8.969 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.8499, allocations: 19.7 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.85, allocations: 26.56 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.85, allocations: 0.5156 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.035e-05/0.8501, allocations: 61.75 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.8501, allocations: 5.531 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.8501, allocations: 4.5 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.8501, allocations: 0.9375 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.8502, allocations: 10.58 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.8502, allocations: 1.516 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.8502, allocations: 6.875 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.8503, allocations: 1.281 kB / 1.092 GB, free: 2.715 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.638e-05/0.8503, allocations: 122.2 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.8504, allocations: 7.625 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.8504, allocations: 17.25 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8504, allocations: 0 / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8504, allocations: 1.875 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8504, allocations: 1.25 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.8507, allocations: 466.6 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8507, allocations: 4.062 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.8508, allocations: 3.672 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.8508, allocations: 1.031 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.8508, allocations: 1.875 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8508, allocations: 3.938 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8508, allocations: 0.9375 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.739e-05/0.8509, allocations: 88.73 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.8509, allocations: 90.05 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.8509, allocations: 2.984 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.851, allocations: 0 / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.851, allocations: 1.672 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.851, allocations: 1.125 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.793e-05/0.8511, allocations: 124.9 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8511, allocations: 0 / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000199/0.8513, allocations: 7.469 kB / 1.093 GB, free: 1.797 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.0001027/0.8514, allocations: 102.2 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.482e-05/0.8515, allocations: 24.06 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8515, allocations: 0 / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.8515, allocations: 4.594 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.8517, allocations: 15.14 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.852, allocations: 187.3 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.8522, allocations: 0.6961 MB / 1.094 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.8523, allocations: 15.75 kB / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8523, allocations: 0 / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.002894/0.8552, allocations: 0.869 MB / 1.095 GB, free: 16.71 MB / 0.8731 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/jenkins1/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