Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001148/0.001148, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.486/1.486, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.474/2.474, allocations: 390.2 MB / 0.6643 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 64.05 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8107, allocations: 140.4 MB / 0.9491 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001992/0.8128, allocations: 0.8773 MB / 0.95 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001006/0.8129, allocations: 36.91 kB / 0.95 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.8129, allocations: 4.969 kB / 0.95 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.813, allocations: 13.64 kB / 0.95 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.597e-05/0.8131, allocations: 3.938 kB / 0.95 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.408e-05/0.8131, allocations: 18.92 kB / 0.95 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.8132, allocations: 51.95 kB / 0.9501 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.8134, allocations: 56.28 kB / 0.9501 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.8134, allocations: 24.11 kB / 0.9502 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.035e-05/0.8135, allocations: 31.91 kB / 0.9502 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.8135, allocations: 6.875 kB / 0.9502 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.8135, allocations: 5.5 kB / 0.9502 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.8135, allocations: 14.69 kB / 0.9502 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.8136, allocations: 34.67 kB / 0.9502 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.587e-05/0.8137, allocations: 74.05 kB / 0.9503 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8137, allocations: 1.375 kB / 0.9503 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8137, allocations: 0 / 0.9503 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.8137, allocations: 0 / 0.9503 GB, free: 8.391 MB / 0.7169 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.0003779/0.8141, allocations: 386.4 kB / 0.9507 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.8141, allocations: 9.625 kB / 0.9507 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.8142, allocations: 8.969 kB / 0.9507 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.8143, allocations: 191.2 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.8143, allocations: 7.125 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.8144, allocations: 5.875 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.8145, allocations: 98.97 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.8145, allocations: 4.188 kB / 0.951 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.8145, allocations: 5.312 kB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.8145, allocations: 2.75 kB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.722e-05/0.8146, allocations: 35.23 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.815, allocations: 432.5 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.233e-05/0.8151, allocations: 41.28 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.8151, allocations: 15.22 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.8151, allocations: 9.359 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.8152, allocations: 35.97 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8152, allocations: 4 kB / 0.9516 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001548/0.8153, allocations: 55.61 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.8154, allocations: 77.11 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.8155, allocations: 164.2 kB / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.8155, allocations: 25.7 kB / 0.9519 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.8156, allocations: 112 kB / 0.952 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.8156, allocations: 9.312 kB / 0.952 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.8156, allocations: 16.66 kB / 0.952 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/0.8157, allocations: 325.5 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.8157, allocations: 4.5 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.856e-05/0.8157, allocations: 21.86 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.8157, allocations: 30.91 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.8157, allocations: 0 / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.865e-05/0.8158, allocations: 55.05 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.8158, allocations: 5.562 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.8158, allocations: 7.922 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.8159, allocations: 1.281 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.8159, allocations: 9.156 kB / 0.9524 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8159, allocations: 1.406 kB / 0.9524 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.816, allocations: 1.094 kB / 0.9524 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.816, allocations: 2.375 kB / 0.9524 GB, free: 6.227 MB / 0.7169 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 4.948e-05/0.816, allocations: 112.8 kB / 0.9525 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.8161, allocations: 12.16 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.8161, allocations: 18.39 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.8161, allocations: 5.5 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8161, allocations: 4 kB / 0.9526 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8161, allocations: 1.094 kB / 0.9526 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.8164, allocations: 473.6 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8164, allocations: 1.219 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.8164, allocations: 6.625 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8164, allocations: 1.375 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.8165, allocations: 1.25 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8165, allocations: 0 / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8165, allocations: 1.219 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.556e-05/0.8165, allocations: 81.64 kB / 0.9531 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.8166, allocations: 101 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.8166, allocations: 5.266 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.8166, allocations: 0 / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.8166, allocations: 1.688 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.8167, allocations: 1.094 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.8167, allocations: 120.6 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.82e-07/0.8167, allocations: 0 / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000183/0.8169, allocations: 10.69 kB / 0.9534 GB, free: 5.266 MB / 0.7169 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.378e-05/0.817, allocations: 100.8 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.191e-05/0.8171, allocations: 19.12 kB / 0.9535 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8171, allocations: 0 / 0.9535 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.8171, allocations: 12.64 kB / 0.9535 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.8173, allocations: 10.81 kB / 0.9535 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.8176, allocations: 176.3 kB / 0.9537 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.8177, allocations: 0.6947 MB / 0.9543 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.8177, allocations: 9.234 kB / 0.9543 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.8177, allocations: 19.19 kB / 0.9544 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8177, allocations: 0 / 0.9544 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of Templates: time 0.002393/0.8201, allocations: 456.1 kB / 0.9548 GB, free: 4.023 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches