Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00195/0.001951, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.838/2.838, allocations: 461.8 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 70.42 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3122, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002316/0.3146, allocations: 0.9308 MB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.3147, allocations: 55.72 kB / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.3148, allocations: 0 / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.3148, allocations: 7.875 kB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.037e-05/0.3149, allocations: 15.92 kB / 1.053 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.429e-05/0.315, allocations: 16 kB / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.3151, allocations: 75.69 kB / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3153, allocations: 49.08 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.564e-05/0.3153, allocations: 31.86 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.3154, allocations: 31.73 kB / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3154, allocations: 4 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.502e-05/0.3155, allocations: 8 kB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.3155, allocations: 19.91 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.3155, allocations: 43.67 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.3157, allocations: 87.89 kB / 1.053 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3157, allocations: 4 kB / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3157, allocations: 4 kB / 1.053 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.3157, allocations: 0 / 1.053 GB, free: 7.488 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004346/0.3161, allocations: 395.4 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3162, allocations: 8.031 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3162, allocations: 16.83 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.3165, allocations: 204.2 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.3165, allocations: 4.562 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.3165, allocations: 12.38 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.3167, allocations: 109 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3167, allocations: 3.984 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3167, allocations: 0 / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.3167, allocations: 4 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.3168, allocations: 51.86 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.3174, allocations: 468.4 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.504e-05/0.3174, allocations: 37.16 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.3175, allocations: 21.77 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.3175, allocations: 4 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3175, allocations: 34.56 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3175, allocations: 3.938 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000173/0.3177, allocations: 61.45 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.3178, allocations: 77.11 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.3179, allocations: 174.7 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.318, allocations: 29.7 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.318, allocations: 112.3 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.377e-06/0.318, allocations: 7.906 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.3181, allocations: 13.72 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3182, allocations: 326.8 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.3182, allocations: 8 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.3183, allocations: 25.64 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.3183, allocations: 25.72 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3183, allocations: 0 / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000109/0.3184, allocations: 65.53 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3185, allocations: 4 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3185, allocations: 4 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3185, allocations: 0 / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.3186, allocations: 8 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3186, allocations: 0 / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.303e-05/0.3186, allocations: 15.78 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3186, allocations: 4.281 kB / 1.056 GB, free: 4.934 MB / 0.8106 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 8.902e-05/0.3187, allocations: 113.8 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.3188, allocations: 15.75 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.3188, allocations: 16.55 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3188, allocations: 0 / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3188, allocations: 4 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3188, allocations: 3.938 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.3192, allocations: 474.8 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3192, allocations: 0 / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.3193, allocations: 4 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3193, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3193, allocations: 7.938 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3193, allocations: 7.922 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3193, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.766e-05/0.3194, allocations: 81.95 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.3194, allocations: 92.91 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3195, allocations: 7.938 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.3195, allocations: 0 / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.3195, allocations: 0 / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.3195, allocations: 0 / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001108/0.3196, allocations: 140.8 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3196, allocations: 0 / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001824/0.3198, allocations: 15.91 kB / 1.057 GB, free: 3.859 MB / 0.8106 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.0001347/0.32, allocations: 111.2 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.741e-05/0.32, allocations: 12 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3201, allocations: 0 / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.3201, allocations: 4 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.3202, allocations: 11.94 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.3206, allocations: 216.7 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.3208, allocations: 0.7049 MB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.3209, allocations: 8.547 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.3209, allocations: 11.44 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.3209, allocations: 0 / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of Templates: time 0.002623/0.3235, allocations: 496.6 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches