Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 99.34 kB / 16.02 MB, free: 76 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.001566/0.001566, allocations: 183.6 kB / 16.92 MB, free: 6.895 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.831/2.831, allocations: 462.6 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 10.84 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.313, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001128/0.3141, allocations: 0.5414 MB / 1.06 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000126/0.3143, allocations: 43.78 kB / 1.06 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.3144, allocations: 4 kB / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.3144, allocations: 3.938 kB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.3145, allocations: 3.984 kB / 1.06 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.32e-05/0.3145, allocations: 16 kB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.484e-05/0.3146, allocations: 59.69 kB / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3148, allocations: 47.97 kB / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.3148, allocations: 19.86 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.3149, allocations: 15.88 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.3149, allocations: 0 / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.3149, allocations: 0 / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.315, allocations: 11.92 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.315, allocations: 61.38 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.508e-05/0.3151, allocations: 52.17 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3151, allocations: 0 / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3151, allocations: 0 / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.3151, allocations: 0 / 1.06 GB, free: 4.121 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000435/0.3156, allocations: 371.3 kB / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3156, allocations: 8.031 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.3156, allocations: 12.84 kB / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.3159, allocations: 188.2 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3159, allocations: 8.375 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.3159, allocations: 8.375 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3161, allocations: 97.28 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3161, allocations: 192 / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3161, allocations: 3.938 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3161, allocations: 4 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.3162, allocations: 39.92 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.3168, allocations: 436.6 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.659e-05/0.3169, allocations: 37.25 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.3169, allocations: 25.77 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.3169, allocations: 4 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3169, allocations: 38.5 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3169, allocations: 0 / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001932/0.3171, allocations: 57.48 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3172, allocations: 77.11 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.3174, allocations: 163.7 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.3174, allocations: 29.95 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.3175, allocations: 107.9 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.3175, allocations: 0 / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.3175, allocations: 17.72 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3176, allocations: 318.8 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.3176, allocations: 4 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.3177, allocations: 21.7 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.3177, allocations: 33.59 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3177, allocations: 0 / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.783e-05/0.3178, allocations: 61.55 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3178, allocations: 4 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3179, allocations: 7.922 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3179, allocations: 0 / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.3179, allocations: 8 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.318, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.318, allocations: 11.91 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.318, allocations: 4 kB / 1.062 GB, free: 1.695 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 9.433e-05/0.3181, allocations: 113.8 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.3182, allocations: 7.906 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.3182, allocations: 19.8 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3182, allocations: 0 / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3182, allocations: 0 / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3182, allocations: 0 / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.3186, allocations: 470.8 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3186, allocations: 0 / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.3186, allocations: 4 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3186, allocations: 96 / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3187, allocations: 0 / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/0.3187, allocations: 4 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3187, allocations: 3.984 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.869e-05/0.3188, allocations: 89.83 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.3188, allocations: 85.02 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3188, allocations: 3.984 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.3189, allocations: 0 / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.3189, allocations: 0 / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.3189, allocations: 8 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.672e-05/0.319, allocations: 126.1 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.319, allocations: 3.938 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001897/0.3192, allocations: 11.94 kB / 1.063 GB, free: 0.6523 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.0001091/0.3193, allocations: 99.25 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.3194, allocations: 15.94 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3194, allocations: 0 / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.3194, allocations: 4 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.3196, allocations: 19.86 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.3199, allocations: 206.5 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3202, allocations: 0.6926 MB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.3202, allocations: 15.44 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3202, allocations: 0 / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of Templates: time 0.002161/0.3224, allocations: 0.8404 MB / 1.065 GB, free: 14.68 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches