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.001182/0.001182, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009804/0.009804, allocations: 170 kB / 16.27 MB, free: 6.66 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.757/1.757, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.915/2.915, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 12 kB / 0.8729 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8443/0.8447, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001285/0.846, allocations: 0.543 MB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00016/0.8462, allocations: 39.8 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.041e-05/0.8463, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.8464, allocations: 7.922 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.8465, allocations: 7.922 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.365e-05/0.8465, allocations: 15.98 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.8467, allocations: 59.84 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.8468, allocations: 39.97 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.847e-05/0.8469, allocations: 19.81 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.847, allocations: 15.86 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.847, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-06/0.847, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.8471, allocations: 15.94 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.8471, allocations: 49.5 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.8473, allocations: 69.66 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8473, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8473, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.8473, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.7794 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.0005763/0.8479, allocations: 371.2 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.8479, allocations: 8.031 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.848, allocations: 12.84 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.8483, allocations: 200.1 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.8483, allocations: 4.375 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.8483, allocations: 8.375 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.8485, allocations: 83.95 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8485, allocations: 7.938 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.8485, allocations: 4 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.8485, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.8487, allocations: 39.92 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.8494, allocations: 448.4 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.295e-05/0.8495, allocations: 41.34 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.8495, allocations: 17.78 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.8495, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.8496, allocations: 38.56 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.8496, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002115/0.8498, allocations: 57.47 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.8499, allocations: 81.36 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.8501, allocations: 170 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.8501, allocations: 25.7 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.8502, allocations: 107.9 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.8502, allocations: 7.906 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.8503, allocations: 9.719 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.8504, allocations: 318.8 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.8505, allocations: 8 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/0.8505, allocations: 17.72 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.738e-05/0.8506, allocations: 29.72 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8506, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.8507, allocations: 57.53 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8507, allocations: 7.938 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.8507, allocations: 4 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.8507, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.8508, allocations: 8.062 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8508, allocations: 3.984 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.8509, allocations: 11.91 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.8509, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 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.996e-05/0.851, allocations: 118.3 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.851, allocations: 11.84 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.8511, allocations: 7.875 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8511, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8511, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.8511, allocations: 8 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.8516, allocations: 470.8 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.8516, allocations: 4 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.8516, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.8516, allocations: 7.938 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.8516, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8516, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8516, allocations: 64 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.8518, allocations: 81.92 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.8519, allocations: 96.94 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.8519, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.8519, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.8519, allocations: 7.938 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.8519, allocations: 8.016 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.949e-05/0.852, allocations: 119.3 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.852, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001991/0.8522, allocations: 8 kB / 1.027 GB, free: 11.5 MB / 0.7794 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.000139/0.8524, allocations: 103.2 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.666e-05/0.8525, allocations: 16 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8525, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/0.8525, allocations: 12.12 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.8527, allocations: 15.88 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.8532, allocations: 176.5 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.8536, allocations: 0.6927 MB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.054e-05/0.8537, allocations: 8.422 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.8537, allocations: 11.44 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of SimCode: time 9.31e-07/0.8537, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.003717/0.8574, allocations: 428.5 kB / 1.028 GB, free: 9.98 MB / 0.7794 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/jenkins/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