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.001433/0.001433, allocations: 100.1 kB / 15.88 MB, free: 12 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.001763/0.001763, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.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.473/2.473, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 67.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.7004, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002157/0.7026, allocations: 0.8804 MB / 0.9504 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001026/0.7027, allocations: 41.28 kB / 0.9505 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.7027, allocations: 5.312 kB / 0.9505 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.7028, allocations: 3.938 kB / 0.9505 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.815e-05/0.7029, allocations: 5.312 kB / 0.9505 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.48e-05/0.7029, allocations: 18.73 kB / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.363e-05/0.703, allocations: 51.3 kB / 0.9506 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.7032, allocations: 43.08 kB / 0.9506 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.7032, allocations: 26.67 kB / 0.9506 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.7033, allocations: 33.28 kB / 0.9507 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.7033, allocations: 8.062 kB / 0.9507 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.7033, allocations: 8.125 kB / 0.9507 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.7034, allocations: 9.312 kB / 0.9507 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.7034, allocations: 30.67 kB / 0.9507 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.728e-05/0.7035, allocations: 56.86 kB / 0.9508 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7035, allocations: 0 / 0.9508 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7035, allocations: 0 / 0.9508 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7035, allocations: 0 / 0.9508 GB, free: 8.262 MB / 0.7169 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.0003934/0.7039, allocations: 374.5 kB / 0.9511 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.704, allocations: 9.625 kB / 0.9511 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.704, allocations: 16.95 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.7042, allocations: 195.1 kB / 0.9513 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.7042, allocations: 7.125 kB / 0.9513 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.7042, allocations: 13.81 kB / 0.9514 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.7044, allocations: 84.7 kB / 0.9514 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.7044, allocations: 5.5 kB / 0.9514 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.7044, allocations: 7.938 kB / 0.9515 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.7044, allocations: 2.75 kB / 0.9515 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.938e-05/0.7045, allocations: 39.03 kB / 0.9515 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.705, allocations: 437.6 kB / 0.9519 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.702e-05/0.705, allocations: 32.5 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.7051, allocations: 24.31 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.7051, allocations: 0 / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.7051, allocations: 35.88 kB / 0.952 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.7051, allocations: 0 / 0.952 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001579/0.7053, allocations: 55.5 kB / 0.9521 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.7053, allocations: 86.67 kB / 0.9521 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.7054, allocations: 162.2 kB / 0.9523 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.7055, allocations: 26.98 kB / 0.9523 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.7055, allocations: 111.7 kB / 0.9524 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.7055, allocations: 5.219 kB / 0.9524 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.7056, allocations: 17.59 kB / 0.9524 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.7056, allocations: 321.3 kB / 0.9527 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.7056, allocations: 2.5 kB / 0.9528 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.7057, allocations: 22.81 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.7057, allocations: 26.89 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7057, allocations: 3.938 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.313e-05/0.7058, allocations: 59.52 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7058, allocations: 5.281 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.7058, allocations: 3.938 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.7058, allocations: 5.219 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.7059, allocations: 14.17 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7059, allocations: 3.938 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.7059, allocations: 3.219 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.706, allocations: 1.469 kB / 0.9529 GB, free: 6.09 MB / 0.7169 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 5.653e-05/0.706, allocations: 112.7 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.7061, allocations: 7.656 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.7061, allocations: 10.88 kB / 0.953 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7061, allocations: 9.422 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7061, allocations: 7.984 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.7061, allocations: 1.188 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.7064, allocations: 477.6 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7064, allocations: 1.062 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.7065, allocations: 2.969 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7065, allocations: 1.312 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.7065, allocations: 0 / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7065, allocations: 1.562 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7065, allocations: 4 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.622e-05/0.7066, allocations: 86.55 kB / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.7066, allocations: 89.2 kB / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.7066, allocations: 0 / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.7066, allocations: 2.062 kB / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.7067, allocations: 8.016 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.7067, allocations: 1.281 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.518e-05/0.7068, allocations: 125.1 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7068, allocations: 0 / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001932/0.707, allocations: 7.625 kB / 0.9538 GB, free: 5.133 MB / 0.7169 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 9.759e-05/0.7071, allocations: 96.06 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.516e-05/0.7071, allocations: 18.72 kB / 0.9539 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7072, allocations: 128 / 0.9539 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.7072, allocations: 8.844 kB / 0.9539 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.7073, allocations: 12.08 kB / 0.9539 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.7076, allocations: 212.8 kB / 0.9541 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.7078, allocations: 0.6901 MB / 0.9548 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.7078, allocations: 11.69 kB / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7078, allocations: 0 / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of Templates: time 0.002471/0.7103, allocations: 0.855 MB / 0.9557 GB, free: 3.664 MB / 0.7169 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 -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