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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001097/0.001097, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003965, allocations: 14.95 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001166/0.3285, allocations: 0.5959 MB / 1.06 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.3287, allocations: 51.77 kB / 1.06 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.3288, allocations: 4 kB / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.3288, allocations: 7.875 kB / 1.06 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.522e-05/0.3289, allocations: 7.922 kB / 1.06 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.009e-05/0.329, allocations: 19.98 kB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3292, allocations: 79.73 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3293, allocations: 49.09 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.3294, allocations: 23.75 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.3295, allocations: 23.8 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3295, allocations: 4 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-06/0.3295, allocations: 0 / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.3295, allocations: 15.92 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.3296, allocations: 57.44 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3297, allocations: 76.06 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3297, allocations: 0 / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3297, allocations: 0 / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.3297, allocations: 0 / 1.06 GB, free: 3.969 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.0004846/0.3302, allocations: 379.4 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3303, allocations: 11.97 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.3303, allocations: 12.75 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.3306, allocations: 206.5 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3306, allocations: 12.56 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.3306, allocations: 4.375 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3308, allocations: 112 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3309, allocations: 0 / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3309, allocations: 4 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3309, allocations: 4 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/0.331, allocations: 39.98 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/0.3316, allocations: 472.2 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.893e-05/0.3317, allocations: 41.14 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.3317, allocations: 17.84 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.3317, allocations: 4 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3318, allocations: 38.5 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.3318, allocations: 224 / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001963/0.332, allocations: 65.45 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.332, allocations: 81.05 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3322, allocations: 179.2 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3323, allocations: 25.95 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.3323, allocations: 115.9 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.3324, allocations: 3.984 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.3324, allocations: 13.72 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3325, allocations: 322.8 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.3325, allocations: 8 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.3326, allocations: 17.72 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.474e-05/0.3326, allocations: 29.66 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3326, allocations: 4 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.254e-05/0.3327, allocations: 57.5 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3328, allocations: 5.25 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3328, allocations: 4 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3328, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.3329, allocations: 11.94 kB / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3329, allocations: 0 / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.3329, allocations: 11.88 kB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.3329, allocations: 4.062 kB / 1.063 GB, free: 1.434 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 7.954e-05/0.333, allocations: 117.8 kB / 1.063 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.3331, allocations: 15.81 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.3331, allocations: 12.56 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3331, allocations: 0 / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3331, allocations: 0 / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3331, allocations: 3.938 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.3335, allocations: 482.8 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3335, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.3335, allocations: 4 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3336, allocations: 0 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.3336, allocations: 3.938 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3336, allocations: 7.984 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3336, allocations: 4 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.497e-05/0.3337, allocations: 77.91 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.3337, allocations: 96.91 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3338, allocations: 3.938 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.3338, allocations: 0 / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.3338, allocations: 7.938 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.3338, allocations: 0 / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001025/0.3339, allocations: 139.2 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3339, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001932/0.3341, allocations: 15.97 kB / 1.063 GB, free: 360 kB / 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.0001267/0.3343, allocations: 99.19 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.11e-05/0.3344, allocations: 19.94 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3344, allocations: 0 / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.3344, allocations: 4 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.3346, allocations: 11.98 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.3349, allocations: 234.5 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3352, allocations: 0.7004 MB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.3352, allocations: 15.44 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3352, allocations: 0 / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of Templates: time 0.002431/0.3377, allocations: 0.973 MB / 1.065 GB, free: 14.22 MB / 0.8262 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/jenkins1/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