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.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_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.001142/0.001142, allocations: 106.8 kB / 16.37 MB, free: 6.48 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.001401/0.001401, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.18 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.431/2.431, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 66.41 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.328, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002327/0.3304, allocations: 0.8248 MB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001284/0.3306, allocations: 43.78 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.3307, allocations: 4 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/0.3307, allocations: 15.86 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.3308, allocations: 7.875 kB / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.433e-05/0.3309, allocations: 15.98 kB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.331, allocations: 63.84 kB / 0.9521 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.3312, allocations: 43.95 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.3312, allocations: 27.86 kB / 0.9521 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.161e-05/0.3313, allocations: 27.84 kB / 0.9522 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.3314, allocations: 7.938 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.3314, allocations: 8 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.3314, allocations: 11.94 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.3315, allocations: 35.73 kB / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3316, allocations: 75.7 kB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3316, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3316, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3316, 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.0004804/0.3321, allocations: 387.1 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3322, allocations: 8.031 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.3322, allocations: 8.844 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.3325, allocations: 192.2 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3325, allocations: 8.375 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.3325, allocations: 12.36 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.3327, allocations: 97.98 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3327, allocations: 192 / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3328, allocations: 7.938 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3328, allocations: 4 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.3328, allocations: 35.98 kB / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.3335, allocations: 428.6 kB / 0.9534 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.544e-05/0.3336, allocations: 37.22 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.3336, allocations: 21.77 kB / 0.9535 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3336, allocations: 4 kB / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.3337, allocations: 38.59 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3337, allocations: 0 / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002028/0.3339, allocations: 57.48 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.334, allocations: 85.05 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.3342, allocations: 165 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3342, allocations: 29.7 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.3343, allocations: 112 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.3343, allocations: 3.906 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.3343, allocations: 21.7 kB / 0.954 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3345, allocations: 319.1 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.3345, allocations: 4 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.3345, allocations: 25.64 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/0.3346, allocations: 29.66 kB / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3346, allocations: 0 / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.326e-05/0.3347, allocations: 57.59 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3347, allocations: 8.062 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3347, allocations: 7.938 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3347, allocations: 0 / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.3348, allocations: 4 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.3348, allocations: 3.938 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.3349, allocations: 11.84 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.3349, allocations: 0 / 0.9544 GB, free: 4.395 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.044e-05/0.3349, allocations: 115.8 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.335, allocations: 7.906 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.335, allocations: 23.8 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.335, allocations: 0 / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3351, allocations: 0 / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3351, allocations: 4 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.3355, allocations: 462.8 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3355, allocations: 4 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.654e-05/0.3355, allocations: 0 / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3355, allocations: 8.062 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.3355, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3355, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3356, allocations: 3.984 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.356e-05/0.3356, allocations: 81.78 kB / 0.9551 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.3357, allocations: 89 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3357, allocations: 0 / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.3357, allocations: 4.031 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.3358, allocations: 4 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.3358, allocations: 96 / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.462e-05/0.3359, allocations: 125.5 kB / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3359, allocations: 0 / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001803/0.3361, allocations: 8 kB / 0.9553 GB, free: 3.363 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.0001312/0.3362, allocations: 95.78 kB / 0.9554 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.462e-05/0.3363, allocations: 31.86 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3363, allocations: 0 / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-06/0.3363, allocations: 7.938 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.3365, allocations: 15.92 kB / 0.9555 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.3368, allocations: 162.6 kB / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3371, allocations: 0.7042 MB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.3372, allocations: 4.438 kB / 0.9563 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.3372, allocations: 11.44 kB / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.3372, allocations: 0 / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.002939/0.3401, allocations: 448.5 kB / 0.9568 GB, free: 1.832 MB / 0.7325 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 -s cvode -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/jenkins1/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