Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001662/0.001662, allocations: 103.2 kB / 16.27 MB, free: 5.973 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.001849/0.001849, allocations: 189.7 kB / 17.2 MB, free: 5.598 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.488/1.488, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.564/2.564, allocations: 437.1 MB / 0.7111 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 71.95 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3481, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002321/0.3505, allocations: 0.8155 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/0.3506, allocations: 39.8 kB / 1.019 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.3507, allocations: 4 kB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.3508, allocations: 7.875 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.842e-05/0.3508, allocations: 15.86 kB / 1.019 GB, free: 9.754 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.111e-05/0.3509, allocations: 15.98 kB / 1.019 GB, free: 9.738 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.351, allocations: 67.69 kB / 1.019 GB, free: 9.672 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3511, allocations: 51.95 kB / 1.019 GB, free: 9.621 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/0.3512, allocations: 23.88 kB / 1.019 GB, free: 9.598 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.3512, allocations: 35.78 kB / 1.019 GB, free: 9.562 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.3512, allocations: 7.938 kB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.3513, allocations: 8 kB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.3513, allocations: 4 kB / 1.019 GB, free: 9.543 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.3513, allocations: 39.73 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.3514, allocations: 68.05 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3514, allocations: 0 / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.62e-07/0.3514, allocations: 4 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.3514, allocations: 0 / 1.019 GB, free: 9.434 MB / 0.795 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.0003925/0.3518, allocations: 379.2 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.3519, allocations: 12.92 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.3519, allocations: 8.844 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.3521, allocations: 192.1 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3521, allocations: 8.375 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.3522, allocations: 8.359 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3523, allocations: 102.4 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.3523, allocations: 192 / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3524, allocations: 7.938 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3524, allocations: 4 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.3524, allocations: 35.92 kB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.353, allocations: 436.6 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.3531, allocations: 41.25 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/0.3531, allocations: 21.77 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-06/0.3531, allocations: 0 / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3532, allocations: 38.56 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3532, allocations: 0 / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.3533, allocations: 53.48 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.3534, allocations: 77.11 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3536, allocations: 160.9 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3536, allocations: 25.7 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.3537, allocations: 104.2 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.3537, allocations: 15.91 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.3537, allocations: 17.7 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3539, allocations: 314.8 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.3539, allocations: 15.92 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.354, allocations: 13.72 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.354, allocations: 37.66 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.354, allocations: 0 / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.768e-05/0.3541, allocations: 61.53 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.3542, allocations: 4 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3542, allocations: 3.938 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.3542, allocations: 0 / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.3542, allocations: 8 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3542, allocations: 3.984 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.3543, allocations: 11.84 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-06/0.3543, allocations: 3.938 kB / 1.021 GB, free: 6.988 MB / 0.795 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 9.298e-05/0.3544, allocations: 117.9 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.3544, allocations: 7.906 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.3545, allocations: 19.8 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3545, allocations: 0 / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3545, allocations: 0 / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.3545, allocations: 0 / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.3549, allocations: 474.8 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.355, allocations: 96 / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.355, allocations: 7.938 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.355, allocations: 3.984 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.355, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.355, allocations: 4 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.355, allocations: 3.984 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.933e-05/0.3551, allocations: 77.91 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.3552, allocations: 93 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.3552, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.3552, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-06/0.3552, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.3553, allocations: 4 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.596e-05/0.3554, allocations: 121.3 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.615e-06/0.3554, allocations: 0 / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001797/0.3555, allocations: 11.94 kB / 1.022 GB, free: 5.949 MB / 0.795 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.0001468/0.3557, allocations: 99.28 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.573e-05/0.3558, allocations: 19.98 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3558, allocations: 0 / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.608e-05/0.3558, allocations: 11.94 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.3559, allocations: 11.88 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.3562, allocations: 180.8 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3566, allocations: 0.6963 MB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.3566, allocations: 11.44 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3566, allocations: 4 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of Templates: time 0.002166/0.3588, allocations: 0.8652 MB / 1.024 GB, free: 3.98 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches