Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001306/0.001306, allocations: 102.8 kB / 16.36 MB, free: 5.824 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.001465/0.001465, allocations: 193.4 kB / 17.29 MB, free: 5.48 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.639/2.639, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.002071, allocations: 64 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3297, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002454/0.3322, allocations: 0.8509 MB / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001348/0.3323, allocations: 47.78 kB / 1.028 GB, free: 1.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.3324, allocations: 0 / 1.028 GB, free: 1.176 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.3325, allocations: 11.86 kB / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.323e-05/0.3326, allocations: 7.875 kB / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.676e-05/0.3327, allocations: 19.98 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.3328, allocations: 59.84 kB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.333, allocations: 43.95 kB / 1.028 GB, free: 1.035 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.607e-05/0.333, allocations: 27.81 kB / 1.028 GB, free: 1.008 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.3331, allocations: 27.84 kB / 1.028 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3331, allocations: 8 kB / 1.028 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-06/0.3331, allocations: 4 kB / 1.028 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.3332, allocations: 19.92 kB / 1.028 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.455e-05/0.3332, allocations: 39.73 kB / 1.028 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.3334, allocations: 63.72 kB / 1.028 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3334, allocations: 4 kB / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.487e-06/0.3334, allocations: 0 / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.3334, allocations: 3.938 kB / 1.028 GB, free: 0.8398 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.0004995/0.3339, allocations: 376.4 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.334, allocations: 8.031 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.334, allocations: 16.84 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.3343, allocations: 188.2 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3343, allocations: 8.281 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3343, allocations: 16.36 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3345, allocations: 91.89 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3345, allocations: 192 / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3345, allocations: 11.92 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3345, allocations: 0 / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.3346, allocations: 35.98 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.3352, allocations: 436.5 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.887e-05/0.3353, allocations: 37.16 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.3354, allocations: 25.86 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.3354, allocations: 0 / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3354, allocations: 38.56 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3354, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001817/0.3356, allocations: 57.48 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.3357, allocations: 77.11 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3358, allocations: 160.7 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.336, allocations: 29.7 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.336, allocations: 111.8 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.3361, allocations: 8.156 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3361, allocations: 21.7 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.3363, allocations: 318.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.3363, allocations: 4 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.3364, allocations: 21.7 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.3364, allocations: 25.66 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3364, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.216e-05/0.3365, allocations: 61.59 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3365, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3365, allocations: 3.938 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3366, allocations: 3.938 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.3366, allocations: 8 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3367, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.3367, allocations: 7.844 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.3367, allocations: 4 kB / 1.03 GB, free: 14.4 MB / 0.8106 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.173e-05/0.3368, allocations: 121.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.3368, allocations: 7.906 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.3369, allocations: 15.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3369, allocations: 4 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3369, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3369, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.3373, allocations: 474.8 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3373, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.3374, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3374, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3374, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3374, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.3374, allocations: 7.984 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.219e-05/0.3375, allocations: 85.84 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.3375, allocations: 85 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.3376, allocations: 4 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.3376, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.3376, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3376, allocations: 4 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.367e-05/0.3377, allocations: 122.5 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3377, allocations: 7.938 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001828/0.3379, allocations: 4 kB / 1.031 GB, free: 13.36 MB / 0.8106 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.0001183/0.338, allocations: 99.28 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.742e-05/0.3381, allocations: 23.92 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3381, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.3381, allocations: 4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.3383, allocations: 15.88 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.3386, allocations: 167 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.3391, allocations: 0.6924 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.3392, allocations: 4.438 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.3392, allocations: 11.44 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.3392, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of Templates: time 0.002766/0.342, allocations: 452.6 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches