Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 77.94 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 161.3 kB / 23.02 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.852/2.852, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002919/0.002919, allocations: 71.89 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.081, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002024/1.083, allocations: 0.795 MB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/1.083, allocations: 40.42 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/1.083, allocations: 0 / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.689e-05/1.083, allocations: 7.875 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.993e-05/1.083, allocations: 14.33 kB / 1.155 GB, free: 32.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.401e-05/1.083, allocations: 14.27 kB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/1.083, allocations: 63.91 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/1.083, allocations: 33.19 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/1.083, allocations: 27.25 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/1.083, allocations: 23.58 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/1.083, allocations: 9.844 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/1.083, allocations: 7.969 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/1.083, allocations: 15.92 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/1.083, allocations: 34.91 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/1.084, allocations: 71.59 kB / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.084, allocations: 4 kB / 1.155 GB, free: 32.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/1.084, allocations: 0 / 1.155 GB, free: 32.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.45e-06/1.084, allocations: 0 / 1.155 GB, free: 32.63 MB / 1.076 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.0003717/1.084, allocations: 303.8 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/1.084, allocations: 10.31 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/1.084, allocations: 11.52 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/1.084, allocations: 143.7 kB / 1.155 GB, free: 32.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.084, allocations: 9.375 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/1.084, allocations: 5.719 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/1.084, allocations: 95.38 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.084, allocations: 192 / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/1.084, allocations: 3.938 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/1.084, allocations: 2.875 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/1.084, allocations: 38.38 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/1.085, allocations: 354.1 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.246e-05/1.085, allocations: 40.09 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/1.085, allocations: 19 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/1.085, allocations: 6.156 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/1.085, allocations: 37.19 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.085, allocations: 0 / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001511/1.085, allocations: 52.22 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/1.085, allocations: 79.89 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/1.085, allocations: 131 kB / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/1.085, allocations: 29.7 kB / 1.156 GB, free: 31.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/1.085, allocations: 116.4 kB / 1.156 GB, free: 31.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/1.085, allocations: 15.83 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/1.085, allocations: 12.69 kB / 1.156 GB, free: 31.22 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.712e-05/1.085, allocations: 320.9 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/1.085, allocations: 2.469 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.709e-05/1.085, allocations: 21.34 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/1.085, allocations: 21.56 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.085, allocations: 7.359 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.383e-05/1.085, allocations: 63.47 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.085, allocations: 5.125 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.085, allocations: 0 / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.085, allocations: 3.938 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/1.086, allocations: 8.875 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.086, allocations: 2.719 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/1.086, allocations: 0 / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/1.086, allocations: 2.812 kB / 1.157 GB, free: 30.8 MB / 1.076 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.281e-05/1.086, allocations: 113.1 kB / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/1.086, allocations: 14.42 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/1.086, allocations: 17.23 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.086, allocations: 3.984 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.086, allocations: 2.688 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/1.086, allocations: 0 / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/1.086, allocations: 413.2 kB / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.086, allocations: 3.938 kB / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/1.086, allocations: 2.75 kB / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.086, allocations: 0 / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/1.086, allocations: 0 / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.086, allocations: 6.562 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.086, allocations: 3.188 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.115e-05/1.086, allocations: 70.02 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/1.086, allocations: 14.08 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/1.086, allocations: 6.781 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/1.086, allocations: 0 / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/1.086, allocations: 3.938 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/1.086, allocations: 2.875 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.915e-05/1.086, allocations: 97.56 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.086, allocations: 0 / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000186/1.086, allocations: 24.94 kB / 1.158 GB, free: 30.05 MB / 1.076 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 8.093e-05/1.086, allocations: 94.03 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.561e-05/1.086, allocations: 12.94 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.086, allocations: 0 / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/1.086, allocations: 9.75 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/1.087, allocations: 15.83 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/1.087, allocations: 145.6 kB / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/1.087, allocations: 91.05 kB / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.58e-05/1.087, allocations: 3.281 kB / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/1.087, allocations: 11.5 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.087, allocations: 0 / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of Templates: time 0.002518/1.09, allocations: 325.8 kB / 1.158 GB, free: 29.63 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.960941702011041]