Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001499/0.001499, 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.001786/0.001786, allocations: 193.4 kB / 16.14 MB, free: 6.648 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.584/1.584, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.117/3.117, allocations: 472.7 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.11 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3799, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002521/0.3825, allocations: 0.8825 MB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001441/0.3827, allocations: 39.78 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.3827, allocations: 0 / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.849e-05/0.3828, allocations: 7.922 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.483e-05/0.3829, allocations: 4 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.954e-05/0.383, allocations: 15.98 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.745e-05/0.3831, allocations: 55.8 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.3833, allocations: 43.95 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.3833, allocations: 27.86 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.3834, allocations: 19.86 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3834, allocations: 4 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.3834, allocations: 8 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.3835, allocations: 19.92 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.3835, allocations: 35.67 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3836, allocations: 64.05 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3836, allocations: 0 / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3836, allocations: 0 / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.3837, allocations: 4 kB / 1.069 GB, free: 9.629 MB / 0.8262 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.0005267/0.3842, allocations: 379.2 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3842, allocations: 12.03 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3843, allocations: 12.84 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.3845, allocations: 192.2 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.3846, allocations: 4.375 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.3846, allocations: 8.375 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3848, allocations: 97.44 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3848, allocations: 4.125 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3848, allocations: 7.938 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3848, allocations: 4 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.091e-05/0.3849, allocations: 47.86 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.3856, allocations: 432.6 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.56e-05/0.3856, allocations: 37.31 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.3857, allocations: 25.72 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.3857, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.3857, allocations: 38.55 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3857, allocations: 0 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000192/0.3859, allocations: 57.48 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.386, allocations: 81.36 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3862, allocations: 160.7 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3862, allocations: 25.7 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.3863, allocations: 108 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.3863, allocations: 7.906 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.3863, allocations: 17.72 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3865, allocations: 318.8 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.3865, allocations: 4 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.3865, allocations: 29.69 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.3866, allocations: 25.66 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3866, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000111/0.3867, allocations: 61.55 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3867, allocations: 4 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3867, allocations: 3.938 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3868, allocations: 4.047 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.3868, allocations: 12 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3869, allocations: 0 / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.3869, allocations: 11.84 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.3869, allocations: 0 / 1.071 GB, free: 7.18 MB / 0.8262 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.571e-05/0.387, allocations: 115.4 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.3871, allocations: 7.906 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.3871, allocations: 19.8 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3871, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3871, allocations: 4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3871, allocations: 7.938 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.3876, allocations: 466.8 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3876, allocations: 0 / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.3876, allocations: 4 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3876, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.3876, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3877, allocations: 4 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3877, allocations: 4.062 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.926e-05/0.3878, allocations: 85.77 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.3879, allocations: 88.95 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3879, allocations: 3.984 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.951e-05/0.3879, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.3879, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.388, allocations: 8.031 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.88e-05/0.3881, allocations: 125.7 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3881, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001892/0.3883, allocations: 11.91 kB / 1.072 GB, free: 6.129 MB / 0.8262 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.0001474/0.3884, allocations: 97.64 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.177e-05/0.3885, allocations: 15.94 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3885, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.3885, allocations: 12.12 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.3887, allocations: 11.92 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.389, allocations: 180.5 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.3893, allocations: 0.6967 MB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.3894, allocations: 8.422 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.3894, allocations: 11.44 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3894, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of Templates: time 0.002519/0.3919, allocations: 432.6 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches