Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001109/0.001109, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001079/0.001079, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.53 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.298, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002352/0.3004, allocations: 0.8248 MB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001752/0.3006, allocations: 43.78 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.709e-05/0.3007, allocations: 4 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.893e-05/0.3008, allocations: 11.81 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.69e-05/0.3009, allocations: 7.922 kB / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.102e-05/0.3009, allocations: 15.98 kB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3011, allocations: 63.78 kB / 0.9521 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.3013, allocations: 39.98 kB / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.3013, allocations: 19.92 kB / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.3014, allocations: 35.78 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.3014, allocations: 4 kB / 0.9522 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.3015, allocations: 12 kB / 0.9522 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.3015, allocations: 15.92 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.3015, allocations: 35.73 kB / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.3017, allocations: 71.7 kB / 0.9523 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3017, allocations: 4 kB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3017, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3017, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 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.0005034/0.3022, allocations: 379.1 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3023, allocations: 12.03 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.3023, allocations: 12.84 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.3026, allocations: 196.1 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3026, allocations: 4.375 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.3026, allocations: 8.375 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3028, allocations: 91.86 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3028, allocations: 4.172 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.3028, allocations: 11.92 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.3029, allocations: 4 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.3029, allocations: 39.92 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.3035, allocations: 428.6 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/0.3036, allocations: 37.34 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.3036, allocations: 21.78 kB / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.3037, allocations: 0 / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3037, allocations: 38.55 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3037, allocations: 0 / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001678/0.3039, allocations: 53.48 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3039, allocations: 77.11 kB / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3041, allocations: 171.4 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.3041, allocations: 25.7 kB / 0.9538 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.3042, allocations: 111.9 kB / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.3042, allocations: 7.906 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.3042, allocations: 17.72 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3044, allocations: 318.8 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.3044, allocations: 8 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.3044, allocations: 21.7 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.3044, allocations: 25.72 kB / 0.9543 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3045, allocations: 4 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.826e-05/0.3045, allocations: 57.55 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3046, allocations: 4 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3046, allocations: 3.938 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3046, allocations: 4 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.115e-05/0.3046, allocations: 11.98 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3047, allocations: 4.062 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.3047, allocations: 11.84 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3047, allocations: 0 / 0.9544 GB, free: 4.398 MB / 0.7325 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.45e-05/0.3048, allocations: 119.8 kB / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.3048, allocations: 11.84 kB / 0.9545 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.3049, allocations: 15.8 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3049, allocations: 0 / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3049, allocations: 0 / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3049, allocations: 0 / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.3053, allocations: 478.8 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3053, allocations: 0 / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.3054, allocations: 4 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3054, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3054, allocations: 4 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3054, allocations: 0 / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3054, allocations: 0 / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.276e-05/0.3055, allocations: 85.89 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.3056, allocations: 85.02 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3056, allocations: 3.984 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.3056, allocations: 0 / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.3056, allocations: 7.938 kB / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3056, allocations: 0 / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3057, allocations: 125.3 kB / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3057, allocations: 0 / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001835/0.3059, allocations: 12 kB / 0.9553 GB, free: 3.355 MB / 0.7325 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.0001111/0.306, allocations: 95.78 kB / 0.9554 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.763e-05/0.3061, allocations: 16 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3061, allocations: 0 / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-05/0.3061, allocations: 7.938 kB / 0.9554 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.3063, allocations: 22.2 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.3066, allocations: 158.8 kB / 0.9556 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3069, allocations: 0.7 MB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.307, allocations: 8.422 kB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.307, allocations: 15.44 kB / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.307, allocations: 0 / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.002547/0.3096, allocations: 452.6 kB / 0.9568 GB, free: 1.828 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches