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.001563/0.001563, allocations: 109.6 kB / 16.41 MB, free: 6.508 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.001747/0.001747, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.54/1.54, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.302/2.302, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8436/0.8451, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001871/0.8471, allocations: 0.8309 MB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001002/0.8472, allocations: 37.38 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.8472, allocations: 1.406 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.8473, allocations: 9.422 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/0.8474, allocations: 13.86 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.028e-05/0.8474, allocations: 15.86 kB / 1.09 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.8475, allocations: 68.02 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.8477, allocations: 37.81 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.8478, allocations: 30.41 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.8478, allocations: 30.64 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.8478, allocations: 6.938 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.8478, allocations: 6.031 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.8479, allocations: 16.64 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.8479, allocations: 27.14 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.848, allocations: 79.58 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.848, allocations: 0.7188 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/0.848, allocations: 0 / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.8481, allocations: 4.906 kB / 1.09 GB, free: 4.777 MB / 0.8575 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.0003591/0.8484, allocations: 374.2 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.8485, allocations: 9 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.8485, allocations: 14.23 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.8487, allocations: 187.9 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.8487, allocations: 11.66 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.8487, allocations: 9.844 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.8489, allocations: 95.33 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.8489, allocations: 192 / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.8489, allocations: 8.969 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.8489, allocations: 2.062 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.716e-05/0.849, allocations: 36.36 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.8494, allocations: 437.8 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.661e-05/0.8495, allocations: 45.08 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.8495, allocations: 24.52 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.8496, allocations: 1.5 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.8496, allocations: 32.06 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8496, allocations: 0 / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.8497, allocations: 61.55 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.8498, allocations: 82.33 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.8499, allocations: 157.8 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-06/0.8499, allocations: 26.77 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.85, allocations: 108 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.85, allocations: 5.609 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.85, allocations: 14.61 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.712e-05/0.8501, allocations: 323.9 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.8501, allocations: 7.641 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.8501, allocations: 16.2 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.8501, allocations: 30.67 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8502, allocations: 1.562 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.366e-05/0.8502, allocations: 60.98 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.8502, allocations: 5.203 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.8503, allocations: 9.047 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.8503, allocations: 1.188 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.8503, allocations: 6.328 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8503, allocations: 1.5 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.8504, allocations: 10.38 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.8504, allocations: 1.281 kB / 1.092 GB, free: 2.707 MB / 0.8575 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 4.814e-05/0.8504, allocations: 114.1 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.8505, allocations: 12.34 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.8505, allocations: 16.02 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8505, allocations: 1.75 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8505, allocations: 1.094 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.8505, allocations: 0 / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.8508, allocations: 471.4 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8508, allocations: 1.25 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.8509, allocations: 7.062 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8509, allocations: 1.188 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.8509, allocations: 1.156 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8509, allocations: 4.641 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8509, allocations: 4.781 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.397e-05/0.851, allocations: 77.34 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.851, allocations: 93.66 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.851, allocations: 9.922 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.851, allocations: 1.219 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.8511, allocations: 1.828 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.8511, allocations: 1.156 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.933e-05/0.8511, allocations: 121.3 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8511, allocations: 0 / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001832/0.8513, allocations: 10.94 kB / 1.093 GB, free: 1.785 MB / 0.8575 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 8.614e-05/0.8514, allocations: 103.6 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.116e-05/0.8515, allocations: 27.36 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8515, allocations: 0 / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.8515, allocations: 5.156 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.8517, allocations: 13.12 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.852, allocations: 195.2 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.8521, allocations: 0.6963 MB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.8522, allocations: 10.91 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8522, allocations: 0.8125 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.00236/0.8545, allocations: 0.8606 MB / 1.095 GB, free: 16.7 MB / 0.8731 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/jenkins1/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