Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00501/0.00501, allocations: 107.7 kB / 15.74 MB, free: 5.988 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.001132/0.001132, allocations: 189.4 kB / 16.67 MB, free: 5.91 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.227 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.629/2.629, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 66.67 kB / 0.9509 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3354, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002281/0.3377, allocations: 0.8243 MB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001579/0.3379, allocations: 47.78 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.338, allocations: 0 / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.338, allocations: 11.86 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.551e-05/0.3381, allocations: 7.938 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.892e-05/0.3382, allocations: 15.98 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3383, allocations: 67.78 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3385, allocations: 47.95 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.3386, allocations: 23.88 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.258e-05/0.3387, allocations: 27.84 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3387, allocations: 8 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.3387, allocations: 8 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.3387, allocations: 11.94 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.3388, allocations: 39.72 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.3389, allocations: 79.59 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3389, allocations: 0 / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3389, allocations: 0 / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.339, allocations: 0 / 1.089 GB, free: 288 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.0005189/0.3395, allocations: 371.3 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3395, allocations: 11.97 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.3396, allocations: 16.75 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.3398, allocations: 200.1 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3399, allocations: 8.375 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.3399, allocations: 4.375 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3401, allocations: 91.94 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3401, allocations: 4.188 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.3401, allocations: 3.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.3401, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.3402, allocations: 39.92 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.3409, allocations: 432.6 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/0.341, allocations: 41.19 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.341, allocations: 29.83 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.3411, allocations: 0 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3411, allocations: 30.56 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3411, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002182/0.3413, allocations: 57.48 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.3414, allocations: 77.11 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.3416, allocations: 160.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.3416, allocations: 29.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3417, allocations: 100 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.3418, allocations: 7.906 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.3418, allocations: 17.66 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.342, allocations: 322.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.342, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.3421, allocations: 25.64 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.538e-05/0.3421, allocations: 33.72 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3421, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001307/0.3423, allocations: 57.53 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3423, allocations: 8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3423, allocations: 3.938 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3424, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-05/0.3425, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3425, allocations: 8.062 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/0.3425, allocations: 11.84 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.3425, allocations: 4 kB / 1.091 GB, free: 13.85 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 0.0001329/0.3427, allocations: 106.4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.3428, allocations: 11.91 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.3428, allocations: 15.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3428, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.3428, allocations: 7.938 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3429, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.3435, allocations: 474.8 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3435, allocations: 96 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.3435, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.954e-06/0.3435, allocations: 7.922 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3435, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3435, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3436, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.3437, allocations: 85.89 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.3438, allocations: 89 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3438, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.3438, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.3438, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.3439, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001203/0.344, allocations: 125.7 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.344, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002353/0.3442, allocations: 8 kB / 1.092 GB, free: 12.81 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.0002058/0.3444, allocations: 107.1 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.3446, allocations: 19.98 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3446, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.3446, allocations: 7.938 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.3448, allocations: 12.19 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.0005294/0.3454, allocations: 166.8 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.346, allocations: 0.6928 MB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.105e-05/0.346, allocations: 4.438 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.346, allocations: 15.44 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.346, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of Templates: time 0.003416/0.3495, allocations: 473.9 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches