Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01028/0.01028, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.805/2.805, allocations: 462.6 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 9.969 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.376, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001175/0.3773, allocations: 0.5453 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.3774, allocations: 43.77 kB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.3775, allocations: 4 kB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.3775, allocations: 3.938 kB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.3776, allocations: 0 / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.206e-05/0.3777, allocations: 27.92 kB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.936e-05/0.3778, allocations: 55.75 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.3779, allocations: 43.95 kB / 1.059 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.378, allocations: 19.88 kB / 1.059 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.3781, allocations: 19.86 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.3781, allocations: 0 / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-06/0.3781, allocations: 0 / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.3781, allocations: 15.88 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.3782, allocations: 61.42 kB / 1.059 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.3783, allocations: 60.05 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3783, allocations: 0 / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3783, allocations: 0 / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3783, allocations: 0 / 1.06 GB, free: 4.562 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.0004494/0.3788, allocations: 364.7 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3789, allocations: 12.03 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.3789, allocations: 8.844 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.3791, allocations: 204.1 kB / 1.06 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.3792, allocations: 8.375 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.3792, allocations: 4.375 kB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.3794, allocations: 95.89 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.3794, allocations: 192 / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3794, allocations: 3.938 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3794, allocations: 7.938 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.26e-05/0.3795, allocations: 39.92 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.3801, allocations: 436.6 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.988e-05/0.3802, allocations: 45.25 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.3802, allocations: 21.78 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.3802, allocations: 4 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3803, allocations: 34.56 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.3803, allocations: 0 / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002024/0.3805, allocations: 57.47 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3805, allocations: 77.11 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3807, allocations: 165.3 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.3807, allocations: 25.7 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.3808, allocations: 111.9 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-06/0.3808, allocations: 4 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.3808, allocations: 9.719 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.381, allocations: 322.8 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.381, allocations: 4 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.381, allocations: 17.72 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.3811, allocations: 29.66 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3811, allocations: 0 / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.072e-05/0.3812, allocations: 61.53 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3812, allocations: 8 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3812, allocations: 3.938 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.3812, allocations: 96 / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.3813, allocations: 4 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3813, allocations: 12.05 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.3814, allocations: 11.83 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3814, allocations: 7.984 kB / 1.062 GB, free: 2.125 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.27e-05/0.3815, allocations: 109.8 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.3815, allocations: 7.906 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.3815, allocations: 15.81 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3815, allocations: 0 / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3816, allocations: 4 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3816, allocations: 0 / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.382, allocations: 478.7 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.382, allocations: 3.938 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.382, allocations: 4 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.382, allocations: 0 / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.382, allocations: 0 / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.382, allocations: 0 / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.382, allocations: 3.938 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.32e-05/0.3821, allocations: 89.89 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.3822, allocations: 81.02 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3822, allocations: 4 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.3822, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.3822, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3823, allocations: 3.984 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.246e-05/0.3824, allocations: 125.9 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3824, allocations: 0 / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001784/0.3825, allocations: 11.91 kB / 1.063 GB, free: 1.09 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.0001242/0.3827, allocations: 99.23 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.754e-05/0.3828, allocations: 19.94 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3828, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.3828, allocations: 4 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.383, allocations: 18.44 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.3833, allocations: 180.5 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3836, allocations: 0.6965 MB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.341e-05/0.3836, allocations: 8.422 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.3836, allocations: 11.44 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3836, allocations: 0 / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of Templates: time 0.002541/0.3862, allocations: 430.2 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches