Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001693/0.001693, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.002205/0.002205, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.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 3.007/3.007, allocations: 0.49 GB / 0.7923 GB, free: 1.445 MB / 0.6231 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002101/0.002101, allocations: 67.89 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001852/1.093, allocations: 0.8324 MB / 1.323 GB, free: 24.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001036/1.093, allocations: 44.16 kB / 1.323 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/1.093, allocations: 2.938 kB / 1.323 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/1.093, allocations: 11.25 kB / 1.323 GB, free: 24.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.751e-05/1.093, allocations: 7.875 kB / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.273e-05/1.093, allocations: 20.39 kB / 1.323 GB, free: 24.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/1.093, allocations: 64.09 kB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/1.093, allocations: 29.33 kB / 1.323 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/1.093, allocations: 24.44 kB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/1.093, allocations: 28.44 kB / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/1.093, allocations: 18.09 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/1.093, allocations: 5.844 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/1.093, allocations: 13.92 kB / 1.323 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/1.093, allocations: 35.98 kB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/1.093, allocations: 72.03 kB / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/1.093, allocations: 0 / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/1.093, allocations: 0 / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.219e-05/1.093, allocations: 2.406 kB / 1.323 GB, free: 24.27 MB / 1.061 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.0003507/1.094, allocations: 379.8 kB / 1.323 GB, free: 23.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/1.094, allocations: 16.55 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/1.094, allocations: 14.67 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/1.094, allocations: 191.8 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/1.094, allocations: 3.75 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/1.094, allocations: 9.656 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/1.094, allocations: 95.38 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.094, allocations: 192 / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.094, allocations: 10.41 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.094, allocations: 0 / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.508e-05/1.094, allocations: 40.03 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/1.095, allocations: 442.9 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.674e-05/1.095, allocations: 39.97 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/1.095, allocations: 23 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/1.095, allocations: 0 / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/1.095, allocations: 41.41 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/1.095, allocations: 0 / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001505/1.095, allocations: 57.36 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/1.095, allocations: 83.72 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/1.095, allocations: 163.1 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/1.095, allocations: 29.7 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/1.095, allocations: 105 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-06/1.095, allocations: 3.953 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/1.095, allocations: 16.5 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/1.095, allocations: 320.9 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/1.095, allocations: 6.156 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/1.095, allocations: 23.22 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.155e-05/1.095, allocations: 26.06 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.095, allocations: 0 / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.66e-05/1.095, allocations: 60.16 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.095, allocations: 5.094 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.095, allocations: 3.938 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.095, allocations: 2.656 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/1.095, allocations: 9.75 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.095, allocations: 3.938 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/1.096, allocations: 17.83 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/1.096, allocations: 0 / 1.325 GB, free: 22.17 MB / 1.061 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.283e-05/1.096, allocations: 112.7 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/1.096, allocations: 9.547 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/1.096, allocations: 14.72 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/1.096, allocations: 0 / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.096, allocations: 6.328 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/1.096, allocations: 4 kB / 1.325 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/1.096, allocations: 463 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.096, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/1.096, allocations: 6.438 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.096, allocations: 6.938 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/1.096, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.096, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.096, allocations: 64 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.239e-05/1.096, allocations: 95.67 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/1.096, allocations: 83.69 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/1.096, allocations: 0 / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/1.096, allocations: 0 / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/1.096, allocations: 10.48 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/1.096, allocations: 8.031 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.545e-05/1.096, allocations: 126.2 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.096, allocations: 0 / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001801/1.096, allocations: 5.844 kB / 1.326 GB, free: 21.25 MB / 1.061 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 9.201e-05/1.096, allocations: 97.75 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.198e-05/1.097, allocations: 19.08 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.097, allocations: 2.5 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.518e-06/1.097, allocations: 6.594 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/1.097, allocations: 14.69 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/1.097, allocations: 187.7 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/1.097, allocations: 0.6948 MB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/1.097, allocations: 10.53 kB / 1.327 GB, free: 20.25 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/1.097, allocations: 128 / 1.327 GB, free: 20.25 MB / 1.061 GB Notification: Performance of Templates: time 0.002142/1.099, allocations: 0.8643 MB / 1.328 GB, free: 20.18 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 11.344524850006565]