Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0016/0.0016, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002064/0.002064, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.512/1.512, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.529/2.529, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8772/0.8788, allocations: 140.4 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002941/0.8818, allocations: 0.8741 MB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001799/0.882, allocations: 41.28 kB / 0.95 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.8821, allocations: 5.312 kB / 0.95 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.644e-05/0.8822, allocations: 9.297 kB / 0.95 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.8823, allocations: 7.938 kB / 0.95 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.602e-05/0.8824, allocations: 12.12 kB / 0.95 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.8825, allocations: 55.28 kB / 0.9501 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.8827, allocations: 48.45 kB / 0.9501 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.8828, allocations: 35.98 kB / 0.9502 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.8829, allocations: 29.3 kB / 0.9502 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.8829, allocations: 5.5 kB / 0.9502 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.8829, allocations: 10.88 kB / 0.9502 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.8829, allocations: 13.3 kB / 0.9502 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.883, allocations: 34.67 kB / 0.9502 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.8831, allocations: 74.05 kB / 0.9503 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8831, allocations: 1.375 kB / 0.9503 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8832, allocations: 0 / 0.9503 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.8832, allocations: 0 / 0.9503 GB, free: 8.137 MB / 0.7169 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.0004358/0.8836, allocations: 374.5 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.8837, allocations: 13.61 kB / 0.9507 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.8837, allocations: 12.97 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.8839, allocations: 191.2 kB / 0.9509 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.8839, allocations: 7.125 kB / 0.9509 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.884, allocations: 5.875 kB / 0.9509 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.8841, allocations: 92.64 kB / 0.951 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.8842, allocations: 1.562 kB / 0.951 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.8842, allocations: 7.938 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.8842, allocations: 2.75 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.8843, allocations: 39.22 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.8849, allocations: 441.3 kB / 0.9515 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.031e-05/0.8849, allocations: 37.09 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.885, allocations: 23.25 kB / 0.9515 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.885, allocations: 1.594 kB / 0.9515 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.885, allocations: 38.58 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.885, allocations: 1.75 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002027/0.8852, allocations: 54.39 kB / 0.9516 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.8853, allocations: 81.36 kB / 0.9517 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.8854, allocations: 166.2 kB / 0.9518 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.8854, allocations: 25.7 kB / 0.9519 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.8855, allocations: 111.6 kB / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.8855, allocations: 9.5 kB / 0.952 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.8856, allocations: 12.62 kB / 0.952 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.8856, allocations: 321.4 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.8857, allocations: 7.938 kB / 0.9523 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.8857, allocations: 18.78 kB / 0.9523 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.8858, allocations: 33.58 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8858, allocations: 0 / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001005/0.8859, allocations: 51.45 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.8859, allocations: 8.938 kB / 0.9524 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8859, allocations: 5.344 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.8859, allocations: 5.312 kB / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.886, allocations: 12.58 kB / 0.9524 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.886, allocations: 1.312 kB / 0.9524 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.8861, allocations: 1.812 kB / 0.9524 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.8861, allocations: 1.344 kB / 0.9524 GB, free: 5.969 MB / 0.7169 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 6.258e-05/0.8862, allocations: 113.6 kB / 0.9525 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.8862, allocations: 7.531 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.8863, allocations: 15.78 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.8863, allocations: 7.969 kB / 0.9526 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8863, allocations: 5.281 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8863, allocations: 0 / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.8867, allocations: 475 kB / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8867, allocations: 0 / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.8867, allocations: 3.906 kB / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8868, allocations: 0 / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.8868, allocations: 1.219 kB / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8868, allocations: 1.406 kB / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8868, allocations: 4 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.845e-05/0.8869, allocations: 83.23 kB / 0.9531 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.8869, allocations: 91.67 kB / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.8869, allocations: 1.406 kB / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.091e-05/0.887, allocations: 0 / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.887, allocations: 9.172 kB / 0.9532 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.887, allocations: 4.969 kB / 0.9532 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.985e-05/0.8871, allocations: 125.9 kB / 0.9533 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8871, allocations: 0 / 0.9533 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003275/0.8875, allocations: 7.125 kB / 0.9534 GB, free: 5.012 MB / 0.7169 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.0001031/0.8876, allocations: 95.31 kB / 0.9534 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.8877, allocations: 18.66 kB / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.8877, allocations: 1.344 kB / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.8877, allocations: 11.97 kB / 0.9535 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.888, allocations: 10.44 kB / 0.9535 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.8883, allocations: 184.5 kB / 0.9537 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.8884, allocations: 0.6953 MB / 0.9543 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.394e-05/0.8885, allocations: 8.328 kB / 0.9543 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.8885, allocations: 11.16 kB / 0.9544 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/0.8885, allocations: 0 / 0.9544 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.003244/0.8918, allocations: 461.5 kB / 0.9548 GB, free: 3.773 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches