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.00783/0.00783, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001479/0.001479, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 0.9509 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002063/1.067, allocations: 0.8299 MB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000127/1.067, allocations: 40.53 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/1.067, allocations: 1.125 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.628e-05/1.067, allocations: 9.656 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.652e-05/1.067, allocations: 18.45 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.995e-05/1.067, allocations: 16.03 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/1.067, allocations: 60.05 kB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/1.068, allocations: 41.16 kB / 1.089 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.943e-05/1.068, allocations: 25.83 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/1.068, allocations: 34.25 kB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/1.068, allocations: 6.219 kB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/1.068, allocations: 6.438 kB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/1.068, allocations: 12.28 kB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/1.068, allocations: 32.69 kB / 1.089 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/1.068, allocations: 78.44 kB / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.068, allocations: 1.719 kB / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/1.068, allocations: 0 / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.068, allocations: 3.938 kB / 1.089 GB, free: 4.777 MB / 0.8575 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.0005944/1.069, allocations: 374.9 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.905e-05/1.069, allocations: 12.81 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/1.069, allocations: 14.12 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/1.069, allocations: 188.2 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/1.069, allocations: 7.531 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/1.069, allocations: 9.5 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/1.07, allocations: 95.28 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.07, allocations: 192 / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/1.07, allocations: 4.906 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/1.07, allocations: 2.156 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/1.07, allocations: 35.8 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/1.07, allocations: 441.7 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.937e-05/1.07, allocations: 45.59 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/1.07, allocations: 21.44 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/1.07, allocations: 4.031 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/1.071, allocations: 40.59 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/1.071, allocations: 0 / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001841/1.071, allocations: 57.84 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/1.071, allocations: 77.11 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/1.071, allocations: 158.8 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.669e-06/1.071, allocations: 26.98 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/1.071, allocations: 103.6 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/1.071, allocations: 14.77 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/1.071, allocations: 13.36 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/1.071, allocations: 319.8 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/1.071, allocations: 8.016 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/1.071, allocations: 16.59 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/1.071, allocations: 35.03 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.071, allocations: 0 / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.227e-05/1.071, allocations: 53.08 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.071, allocations: 6.484 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.071, allocations: 4.75 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.071, allocations: 0.875 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/1.071, allocations: 9.984 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/1.071, allocations: 0.9062 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/1.071, allocations: 15.19 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/1.071, allocations: 1.344 kB / 1.091 GB, free: 2.707 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 5.793e-05/1.072, allocations: 115.3 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/1.072, allocations: 11.67 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/1.072, allocations: 16.38 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.072, allocations: 1.656 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.072, allocations: 0 / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.072, allocations: 2.219 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/1.072, allocations: 473.5 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.072, allocations: 1.297 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/1.072, allocations: 3.906 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.072, allocations: 1.156 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/1.072, allocations: 0 / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.072, allocations: 1.828 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.072, allocations: 1 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.951e-05/1.072, allocations: 88.2 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/1.072, allocations: 94.16 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/1.072, allocations: 1.656 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/1.072, allocations: 1.859 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/1.072, allocations: 1.375 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/1.072, allocations: 1.922 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.144e-05/1.072, allocations: 120.5 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.072, allocations: 0 / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001891/1.073, allocations: 11.38 kB / 1.092 GB, free: 1.789 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.0001197/1.073, allocations: 101.2 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.879e-05/1.073, allocations: 24.14 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.073, allocations: 1.219 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/1.073, allocations: 3.578 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/1.073, allocations: 11 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/1.073, allocations: 170 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/1.073, allocations: 0.6962 MB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.66e-05/1.074, allocations: 7.906 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/1.074, allocations: 10.5 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.074, allocations: 0 / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of Templates: time 0.002953/1.077, allocations: 473.1 kB / 1.094 GB, free: 16.72 MB / 0.8731 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