Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.006637/0.006637, allocations: 99.98 kB / 15.73 MB, free: 6.039 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.001365/0.001366, allocations: 202.1 kB / 16.68 MB, free: 5.965 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: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.604/2.604, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 62.78 kB / 0.9509 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.354, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002378/0.3564, allocations: 0.8137 MB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.3566, allocations: 51.78 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.3566, allocations: 0 / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.463e-05/0.3567, allocations: 7.875 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.643e-05/0.3568, allocations: 11.86 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.064e-05/0.3569, allocations: 15.98 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.357, allocations: 63.84 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3571, allocations: 39.97 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.3572, allocations: 27.86 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.3573, allocations: 27.8 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3573, allocations: 8 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.3573, allocations: 4 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.3573, allocations: 23.91 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.3574, allocations: 35.73 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3575, allocations: 71.59 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3575, allocations: 0 / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3575, allocations: 0 / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3576, allocations: 4 kB / 1.089 GB, free: 320 kB / 0.8419 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.0004956/0.3581, allocations: 383.1 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3581, allocations: 8.031 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.3582, allocations: 8.891 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.3584, allocations: 204.2 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3584, allocations: 4.375 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.3584, allocations: 8.375 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3586, allocations: 91.89 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3586, allocations: 8.172 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3586, allocations: 11.92 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3586, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.3587, allocations: 35.98 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.3593, allocations: 432.7 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.593e-05/0.3594, allocations: 37.16 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.3594, allocations: 21.84 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.3594, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3595, allocations: 38.58 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.3595, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002219/0.3597, allocations: 65.53 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.3598, allocations: 77.11 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.36, allocations: 160 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.36, allocations: 25.7 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.3601, allocations: 108 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.978e-06/0.3601, allocations: 7.891 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.3601, allocations: 17.72 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.3603, allocations: 327.1 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.3604, allocations: 3.938 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.3604, allocations: 25.7 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.3604, allocations: 25.66 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3605, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.359e-05/0.3606, allocations: 57.69 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3606, allocations: 8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3606, allocations: 3.938 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3606, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.3607, allocations: 11.92 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3607, allocations: 7.984 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.3607, allocations: 3.953 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.3608, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 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.762e-05/0.3608, allocations: 109.8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.3609, allocations: 11.98 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.3609, allocations: 19.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3609, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.361, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.361, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.3614, allocations: 470.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3614, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.3615, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3615, allocations: 4.062 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3615, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3615, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3615, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.3616, allocations: 89.81 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.3617, allocations: 85.06 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.3617, allocations: 12.02 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.989e-05/0.3618, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.3618, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3618, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000129/0.3619, allocations: 125.9 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.91e-07/0.362, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001955/0.3622, allocations: 15.89 kB / 1.092 GB, free: 12.82 MB / 0.8575 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.0001327/0.3623, allocations: 99.78 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.3624, allocations: 19.94 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3624, allocations: 7.875 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.3624, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.3626, allocations: 17.48 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.363, allocations: 158.8 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.3633, allocations: 0.697 MB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.073e-05/0.3633, allocations: 8.422 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.3634, allocations: 15.38 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3634, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.00302/0.3664, allocations: 468.3 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches