Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001607/0.001607, allocations: 114.7 kB / 16.81 MB, free: 5.777 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.001773/0.001773, allocations: 199.1 kB / 17.77 MB, free: 5.129 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.555/1.555, allocations: 225.6 MB / 244.2 MB, free: 13.92 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.896/2.896, allocations: 476.7 MB / 0.7556 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00286/0.00286, allocations: 64.55 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3559, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002024/0.3579, allocations: 0.8202 MB / 1.263 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000127/0.358, allocations: 52 kB / 1.263 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.3581, allocations: 0 / 1.263 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.3581, allocations: 7.922 kB / 1.263 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.893e-05/0.3582, allocations: 11.88 kB / 1.263 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.256e-05/0.3583, allocations: 15.98 kB / 1.263 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3584, allocations: 63.84 kB / 1.263 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3585, allocations: 39.8 kB / 1.263 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.181e-05/0.3586, allocations: 27.92 kB / 1.263 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.3586, allocations: 35.78 kB / 1.263 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3586, allocations: 4 kB / 1.263 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.3587, allocations: 8 kB / 1.263 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.3587, allocations: 11.94 kB / 1.263 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.3587, allocations: 31.8 kB / 1.263 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.3588, allocations: 79.52 kB / 1.263 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3588, allocations: 4 kB / 1.263 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3588, allocations: 0 / 1.263 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3589, allocations: 0 / 1.263 GB, free: 11.8 MB / 0.9825 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.0004624/0.3593, allocations: 383.1 kB / 1.264 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3594, allocations: 8.031 kB / 1.264 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.3594, allocations: 12.84 kB / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.3596, allocations: 192.1 kB / 1.264 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3596, allocations: 8.375 kB / 1.264 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3596, allocations: 4.375 kB / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.3598, allocations: 102 kB / 1.264 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3598, allocations: 192 / 1.264 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3598, allocations: 7.938 kB / 1.264 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3598, allocations: 8 kB / 1.264 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.338e-05/0.3599, allocations: 35.92 kB / 1.264 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.3605, allocations: 436.7 kB / 1.264 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.201e-05/0.3605, allocations: 37.25 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.3606, allocations: 25.77 kB / 1.264 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.3606, allocations: 0 / 1.264 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3606, allocations: 30.56 kB / 1.264 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.3606, allocations: 0 / 1.264 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001586/0.3608, allocations: 57.53 kB / 1.265 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3608, allocations: 81.36 kB / 1.265 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.361, allocations: 158.2 kB / 1.265 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.361, allocations: 25.7 kB / 1.265 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.3611, allocations: 100.1 kB / 1.265 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.3611, allocations: 15.83 kB / 1.265 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.3611, allocations: 17.67 kB / 1.265 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3612, allocations: 322.8 kB / 1.265 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.3613, allocations: 8 kB / 1.265 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.3613, allocations: 25.64 kB / 1.265 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.14e-05/0.3613, allocations: 25.72 kB / 1.265 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3613, allocations: 4 kB / 1.265 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.887e-05/0.3614, allocations: 57.59 kB / 1.265 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3614, allocations: 7.984 kB / 1.265 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-06/0.3615, allocations: 0 / 1.265 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3615, allocations: 8 kB / 1.265 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.3615, allocations: 8 kB / 1.265 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3615, allocations: 0 / 1.265 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.3616, allocations: 4 kB / 1.265 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.3616, allocations: 4 kB / 1.265 GB, free: 9.355 MB / 0.9825 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 0.0001077/0.3617, allocations: 117.8 kB / 1.265 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.3617, allocations: 7.953 kB / 1.265 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.3617, allocations: 11.8 kB / 1.265 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3617, allocations: 4 kB / 1.266 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3617, allocations: 4 kB / 1.266 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.3618, allocations: 97.09 kB / 1.266 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.3618, allocations: 3.984 kB / 1.266 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.3619, allocations: 0 / 1.266 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.3619, allocations: 3.938 kB / 1.266 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001264/0.362, allocations: 188.3 kB / 1.266 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001798/0.3622, allocations: 306 kB / 1.266 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.31e-05/0.3622, allocations: 4 kB / 1.266 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.32e-05/0.3623, allocations: 121.9 kB / 1.266 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of Backend: time 2.31e-07/0.3623, allocations: 0 / 1.266 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.3628, allocations: 94.42 kB / 1.266 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005158/0.3633, allocations: 0.6198 MB / 1.267 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of Templates: time 0.002949/0.3662, allocations: 0.5287 MB / 1.267 GB, free: 7.148 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches