Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007923/0.007923, allocations: 96.91 kB / 15.87 MB, free: 6.289 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.001903/0.001903, allocations: 202 kB / 16.79 MB, free: 6.215 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.384/1.384, 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.458/2.458, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6967/0.6983, allocations: 140.3 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00182/0.7001, allocations: 0.882 MB / 0.9504 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.972e-05/0.7002, allocations: 45.28 kB / 0.9505 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.7003, allocations: 1.375 kB / 0.9505 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.7003, allocations: 3.938 kB / 0.9505 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.7004, allocations: 9.25 kB / 0.9505 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.932e-05/0.7005, allocations: 22.67 kB / 0.9505 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.871e-05/0.7005, allocations: 55.28 kB / 0.9506 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.7007, allocations: 39.08 kB / 0.9506 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.841e-05/0.7007, allocations: 24.12 kB / 0.9506 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.7008, allocations: 31.84 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.7008, allocations: 8.125 kB / 0.9507 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.7008, allocations: 4.125 kB / 0.9507 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.7008, allocations: 14.69 kB / 0.9507 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.7009, allocations: 29.3 kB / 0.9507 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.223e-05/0.7009, allocations: 52.86 kB / 0.9508 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7009, allocations: 0 / 0.9508 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7009, allocations: 0 / 0.9508 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.701, allocations: 0 / 0.9508 GB, free: 8.219 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.0003242/0.7013, allocations: 382.5 kB / 0.9511 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.7013, allocations: 13.62 kB / 0.9511 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.7014, allocations: 10.34 kB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.7015, allocations: 189.8 kB / 0.9513 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.7015, allocations: 3.156 kB / 0.9513 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.7016, allocations: 13.06 kB / 0.9513 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.7017, allocations: 95.53 kB / 0.9514 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.7017, allocations: 192 / 0.9514 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.7017, allocations: 8.922 kB / 0.9514 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.7018, allocations: 6.906 kB / 0.9515 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.307e-05/0.7018, allocations: 39.33 kB / 0.9515 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.7023, allocations: 433.8 kB / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.937e-05/0.7024, allocations: 40.72 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.7024, allocations: 19.84 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.7024, allocations: 3.984 kB / 0.952 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.7025, allocations: 35.88 kB / 0.952 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7025, allocations: 0 / 0.952 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001628/0.7026, allocations: 55.7 kB / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.7027, allocations: 81.36 kB / 0.9521 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.7028, allocations: 163.5 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.7028, allocations: 26.98 kB / 0.9523 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.7029, allocations: 111.4 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-06/0.7029, allocations: 5.281 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.7029, allocations: 17.81 kB / 0.9524 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.703, allocations: 320.1 kB / 0.9527 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.703, allocations: 4 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.703, allocations: 34.77 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.703, allocations: 21.53 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7031, allocations: 1.531 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.374e-05/0.7031, allocations: 58.11 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.7032, allocations: 6.469 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7032, allocations: 7.922 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.7032, allocations: 5.406 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.7032, allocations: 5 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.7033, allocations: 1.031 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.7033, allocations: 1.938 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.7033, allocations: 1.188 kB / 0.9529 GB, free: 6.047 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.021e-05/0.7034, allocations: 113 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.7034, allocations: 11.84 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.7034, allocations: 20.08 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7034, allocations: 7.938 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.7034, allocations: 1.5 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7035, allocations: 0 / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.7037, allocations: 470.8 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7038, allocations: 0 / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.7038, allocations: 3.312 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7038, allocations: 1.594 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.7038, allocations: 0 / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.7038, allocations: 5.438 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7038, allocations: 0 / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.44e-05/0.7039, allocations: 83.05 kB / 0.9536 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.7039, allocations: 87.64 kB / 0.9537 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.7039, allocations: 5.297 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.667e-05/0.704, allocations: 0 / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.704, allocations: 9.156 kB / 0.9537 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.704, allocations: 1.188 kB / 0.9537 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.978e-05/0.7041, allocations: 124.9 kB / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7041, allocations: 0 / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001897/0.7043, allocations: 7.281 kB / 0.9538 GB, free: 5.094 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 0.0001016/0.7044, allocations: 97.09 kB / 0.9539 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.902e-05/0.7045, allocations: 15.19 kB / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7045, allocations: 4.125 kB / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-05/0.7045, allocations: 11.58 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.7047, allocations: 11.03 kB / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.7049, allocations: 208.8 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.7051, allocations: 0.6906 MB / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.7051, allocations: 12.25 kB / 0.9548 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7051, allocations: 3.938 kB / 0.9548 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.001896/0.707, allocations: 0.8624 MB / 0.9557 GB, free: 3.613 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches