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.008069/0.008069, allocations: 99.94 kB / 15.73 MB, free: 6.008 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.001375/0.001375, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.474/1.474, 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.443/2.443, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002087/1.085, allocations: 0.8246 MB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/1.085, allocations: 41.48 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/1.085, allocations: 1.031 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.264e-05/1.085, allocations: 10.12 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.489e-05/1.085, allocations: 9.594 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.706e-05/1.085, allocations: 21.27 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/1.085, allocations: 63.17 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/1.085, allocations: 37.39 kB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/1.086, allocations: 30.03 kB / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/1.086, allocations: 30.61 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/1.086, allocations: 6.125 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/1.086, allocations: 6.406 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/1.086, allocations: 15.83 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/1.086, allocations: 33.45 kB / 1.089 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/1.086, allocations: 74.47 kB / 1.089 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/1.086, allocations: 0.6094 kB / 1.089 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.314e-06/1.086, allocations: 0.8125 kB / 1.089 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.042e-06/1.086, allocations: 0 / 1.089 GB, free: 4.77 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.0004106/1.086, allocations: 378.9 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.086, allocations: 8.531 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/1.086, allocations: 13.72 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/1.087, allocations: 197.3 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/1.087, allocations: 10.97 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/1.087, allocations: 8.953 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/1.087, allocations: 91.67 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.087, allocations: 4.188 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/1.087, allocations: 9.641 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.087, allocations: 2.125 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.457e-05/1.087, allocations: 35.67 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/1.087, allocations: 429.8 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/1.088, allocations: 53.27 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/1.088, allocations: 25.34 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/1.088, allocations: 1.031 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/1.088, allocations: 32.2 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.088, allocations: 0 / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001786/1.088, allocations: 60.95 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/1.088, allocations: 78.89 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/1.088, allocations: 157.9 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/1.088, allocations: 25.7 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/1.088, allocations: 104.9 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/1.088, allocations: 9.531 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/1.088, allocations: 14.14 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/1.088, allocations: 320.5 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/1.088, allocations: 14.89 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/1.088, allocations: 17.19 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/1.088, allocations: 27.23 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.088, allocations: 0 / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.618e-05/1.088, allocations: 57.34 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.088, allocations: 9.531 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.088, allocations: 5.031 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.088, allocations: 1.125 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/1.088, allocations: 6.562 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.089, allocations: 3.984 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/1.089, allocations: 6.578 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/1.089, allocations: 2.281 kB / 1.091 GB, free: 2.695 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.811e-05/1.089, allocations: 113.2 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/1.089, allocations: 8.766 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/1.089, allocations: 20.59 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.089, allocations: 1.953 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.089, allocations: 0 / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.089, allocations: 5.188 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/1.089, allocations: 467.2 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.089, allocations: 0 / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/1.089, allocations: 7.391 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.089, allocations: 1.031 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/1.089, allocations: 4.781 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.089, allocations: 5.562 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.089, allocations: 1.125 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.86e-05/1.089, allocations: 76.8 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/1.089, allocations: 94.92 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/1.089, allocations: 5.188 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/1.089, allocations: 4.641 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/1.089, allocations: 6.078 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/1.089, allocations: 1.375 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.177e-05/1.089, allocations: 124.6 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.089, allocations: 0 / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001948/1.09, allocations: 7.156 kB / 1.092 GB, free: 1.77 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.0001179/1.09, allocations: 98 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001095/1.09, allocations: 25.11 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.09, allocations: 4 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/1.09, allocations: 7.969 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/1.09, allocations: 14.33 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/1.09, allocations: 159.8 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/1.091, allocations: 0.6967 MB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.892e-05/1.091, allocations: 11.66 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/1.091, allocations: 10.69 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/1.091, allocations: 0 / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.002818/1.094, allocations: 458.3 kB / 1.094 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/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