Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001655/0.001654, allocations: 193.7 kB / 16.14 MB, free: 6.652 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.507/1.507, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.577/2.577, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 71.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.8222, allocations: 140.4 MB / 0.9489 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00178/0.8241, allocations: 0.8805 MB / 0.9498 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.044e-05/0.8242, allocations: 41.81 kB / 0.9498 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.8242, allocations: 1.281 kB / 0.9498 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.453e-05/0.8243, allocations: 11.88 kB / 0.9498 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.173e-05/0.8243, allocations: 5.156 kB / 0.9498 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.439e-05/0.8244, allocations: 14.45 kB / 0.9499 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.147e-05/0.8245, allocations: 51.86 kB / 0.9499 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.8246, allocations: 46.45 kB / 0.9499 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/0.8246, allocations: 27.95 kB / 0.95 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.8247, allocations: 32.97 kB / 0.95 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.8247, allocations: 3.375 kB / 0.95 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.8247, allocations: 3.844 kB / 0.95 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.8247, allocations: 14.34 kB / 0.95 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.8248, allocations: 30.92 kB / 0.9501 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.632e-05/0.8249, allocations: 69.58 kB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8249, allocations: 0 / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8249, allocations: 4 kB / 0.9501 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.8249, allocations: 0 / 0.9501 GB, free: 8.207 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.0002868/0.8252, allocations: 383 kB / 0.9505 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.8252, allocations: 9.562 kB / 0.9505 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.8253, allocations: 9.531 kB / 0.9505 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.8254, allocations: 190.6 kB / 0.9507 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.8254, allocations: 7.203 kB / 0.9507 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.8254, allocations: 9.031 kB / 0.9507 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.8255, allocations: 93.52 kB / 0.9508 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.8256, allocations: 192 / 0.9508 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.8256, allocations: 5.094 kB / 0.9508 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.8256, allocations: 6.625 kB / 0.9508 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.538e-05/0.8257, allocations: 35.8 kB / 0.9508 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.826, allocations: 432.9 kB / 0.9513 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.99e-05/0.8261, allocations: 45.3 kB / 0.9513 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.8261, allocations: 19.2 kB / 0.9513 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.8261, allocations: 1.375 kB / 0.9513 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.8262, allocations: 38.56 kB / 0.9514 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.8262, allocations: 5.312 kB / 0.9514 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001398/0.8263, allocations: 49.92 kB / 0.9514 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.8263, allocations: 86.41 kB / 0.9515 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.8264, allocations: 161.7 kB / 0.9516 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.8265, allocations: 25.7 kB / 0.9517 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.8265, allocations: 111.9 kB / 0.9518 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.8265, allocations: 13.52 kB / 0.9518 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.8265, allocations: 21.83 kB / 0.9518 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.8266, allocations: 317.6 kB / 0.9521 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.8266, allocations: 6.734 kB / 0.9521 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.673e-05/0.8266, allocations: 19.22 kB / 0.9521 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.8267, allocations: 21.97 kB / 0.9522 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8267, allocations: 4 kB / 0.9522 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.095e-05/0.8268, allocations: 63.41 kB / 0.9522 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.8268, allocations: 5.5 kB / 0.9522 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.8268, allocations: 3.938 kB / 0.9522 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.8268, allocations: 1.375 kB / 0.9522 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.8269, allocations: 5.5 kB / 0.9522 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.8269, allocations: 3.938 kB / 0.9522 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.8269, allocations: 2.75 kB / 0.9522 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.8269, allocations: 1.375 kB / 0.9522 GB, free: 6.043 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 4.477e-05/0.827, allocations: 122 kB / 0.9524 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.827, allocations: 8.031 kB / 0.9524 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.827, allocations: 18.55 kB / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.827, allocations: 0 / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.827, allocations: 1.375 kB / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.827, allocations: 0 / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.8273, allocations: 479.4 kB / 0.9528 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.8273, allocations: 0 / 0.9528 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.746e-05/0.8273, allocations: 2.75 kB / 0.9528 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.8273, allocations: 1.375 kB / 0.9528 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.8273, allocations: 0 / 0.9528 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8273, allocations: 1.375 kB / 0.9528 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8273, allocations: 5.359 kB / 0.9529 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.579e-05/0.8274, allocations: 82.28 kB / 0.9529 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.8274, allocations: 95.62 kB / 0.953 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.8275, allocations: 1.375 kB / 0.953 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.8275, allocations: 0 / 0.953 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-06/0.8275, allocations: 1.375 kB / 0.953 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.8275, allocations: 1.375 kB / 0.953 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.8276, allocations: 123.6 kB / 0.9531 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8276, allocations: 5.25 kB / 0.9531 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001825/0.8278, allocations: 6.594 kB / 0.9532 GB, free: 5.086 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 7.736e-05/0.8278, allocations: 100.7 kB / 0.9533 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.762e-05/0.8279, allocations: 18.86 kB / 0.9533 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8279, allocations: 0 / 0.9533 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.8279, allocations: 7.312 kB / 0.9533 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.8281, allocations: 12.67 kB / 0.9533 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.8283, allocations: 178.4 kB / 0.9535 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.961e-05/0.8285, allocations: 0.696 MB / 0.9541 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.8285, allocations: 8.688 kB / 0.9541 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.8285, allocations: 11.28 kB / 0.9542 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.8285, allocations: 0 / 0.9542 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of Templates: time 0.002132/0.8307, allocations: 442.9 kB / 0.9546 GB, free: 3.855 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches