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 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.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.001609/0.001615, allocations: 110.4 kB / 16.37 MB, free: 6.012 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.001815/0.001815, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.536/2.536, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 63.41 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3494, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002147/0.3516, allocations: 0.8378 MB / 1.028 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001011/0.3517, allocations: 39.78 kB / 1.028 GB, free: 1.195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.3518, allocations: 0 / 1.028 GB, free: 1.195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.3518, allocations: 7.875 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.041e-05/0.3519, allocations: 11.92 kB / 1.028 GB, free: 1.176 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.576e-05/0.352, allocations: 23.98 kB / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.3521, allocations: 59.78 kB / 1.028 GB, free: 1.094 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3522, allocations: 43.91 kB / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/0.3523, allocations: 23.86 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.3524, allocations: 31.8 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3524, allocations: 8 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.3524, allocations: 8 kB / 1.028 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.3524, allocations: 19.91 kB / 1.028 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.3525, allocations: 35.8 kB / 1.028 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3526, allocations: 71.66 kB / 1.028 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3526, allocations: 0 / 1.028 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3526, allocations: 0 / 1.028 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3526, allocations: 0 / 1.028 GB, free: 0.8555 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.0004209/0.353, allocations: 380.4 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3531, allocations: 12.03 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.3531, allocations: 8.844 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.3534, allocations: 192.1 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3534, allocations: 12.28 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3534, allocations: 4.375 kB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3536, allocations: 91.95 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3536, allocations: 8.156 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3536, allocations: 7.938 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3536, allocations: 4 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.854e-05/0.3537, allocations: 39.92 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.3543, allocations: 432.6 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.379e-05/0.3543, allocations: 45.19 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.3544, allocations: 17.78 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.3544, allocations: 4 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.3544, allocations: 34.55 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.3544, allocations: 4 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.3546, allocations: 53.48 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.3547, allocations: 81.36 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.3548, allocations: 163.7 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.3548, allocations: 25.7 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.3549, allocations: 104 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.217e-06/0.3549, allocations: 7.906 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.3549, allocations: 13.72 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.3551, allocations: 322.8 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.3551, allocations: 4 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.323e-05/0.3551, allocations: 29.64 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.885e-05/0.3552, allocations: 25.72 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3552, allocations: 3.938 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.608e-05/0.3553, allocations: 57.55 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3553, allocations: 4 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3553, allocations: 3.938 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3553, allocations: 4.062 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.364e-05/0.3554, allocations: 11.98 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3554, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.3554, allocations: 11.84 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.3554, allocations: 0 / 1.03 GB, free: 14.41 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 8.576e-05/0.3555, allocations: 117.8 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.3556, allocations: 7.906 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.3556, allocations: 19.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3556, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3556, allocations: 4 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3556, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.356, allocations: 474.8 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.356, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.3561, allocations: 7.938 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3561, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.3561, allocations: 3.938 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3561, allocations: 8.062 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3561, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.062e-05/0.3562, allocations: 77.83 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.3562, allocations: 89.02 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3563, allocations: 3.984 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.3563, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.3563, allocations: 4.031 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3563, allocations: 8 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.698e-05/0.3564, allocations: 121.9 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3564, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001849/0.3566, allocations: 4 kB / 1.031 GB, free: 13.37 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.0001155/0.3567, allocations: 103.2 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.003e-05/0.3568, allocations: 12 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3568, allocations: 4.125 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.3568, allocations: 11.94 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.357, allocations: 19.86 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.0002854/0.3573, allocations: 154.8 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3576, allocations: 0.6924 MB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.3576, allocations: 12.55 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.3576, allocations: 11.44 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.3576, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.002315/0.36, allocations: 452.6 kB / 1.032 GB, free: 11.84 MB / 0.8106 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 -s cvode -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/jenkins1/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