Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 249.5 MB / 257 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009801/0.0009801, allocations: 176.9 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009118/0.0009118, allocations: 84.42 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.567e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.19, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6236/0.8136, allocations: 131.6 MB / 1.014 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001644/0.8138, allocations: 73.62 kB / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002462/0.8163, allocations: 1.149 MB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8163, allocations: 0 / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.8163, allocations: 0 / 1.015 GB, free: 5.141 MB / 0.6355 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.0002886/0.8166, allocations: 368.2 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.8167, allocations: 8.031 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.8167, allocations: 7.906 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.8168, allocations: 178.9 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.8169, allocations: 4 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.8169, allocations: 8 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.606e-05/0.817, allocations: 37.81 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.8171, allocations: 81.02 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.8171, allocations: 0 / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.8171, allocations: 0 / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8171, allocations: 4 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.8176, allocations: 423 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.972e-05/0.8176, allocations: 36.41 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.8177, allocations: 17.84 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.8177, allocations: 5.5 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.8177, allocations: 34.59 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8177, allocations: 4 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001285/0.8179, allocations: 40.98 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.8179, allocations: 77.11 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.818, allocations: 129.8 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.818, allocations: 25.7 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.8181, allocations: 117.9 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-06/0.8181, allocations: 3.906 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-06/0.8181, allocations: 0 / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.8182, allocations: 318.2 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.8182, allocations: 7.688 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.8183, allocations: 20.19 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.8183, allocations: 15.55 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.8183, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.738e-05/0.8184, allocations: 57.78 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.8184, allocations: 4 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.8184, allocations: 0 / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.8184, allocations: 0 / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.8185, allocations: 11.98 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.8185, allocations: 3.938 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.8185, allocations: 11.91 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.8186, allocations: 4.094 kB / 1.017 GB, free: 2.996 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.8186, allocations: 104.9 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.8187, allocations: 12.16 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.8187, allocations: 11.36 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.8187, allocations: 7.938 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.8187, allocations: 0 / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8187, allocations: 5.359 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.8191, allocations: 454.6 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8191, allocations: 0 / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.8191, allocations: 7.984 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8191, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.8191, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.8191, allocations: 4 kB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8191, allocations: 0 / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.182e-05/0.8192, allocations: 90.14 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.8193, allocations: 85.09 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.8193, allocations: 0.875 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.8193, allocations: 0 / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.8194, allocations: 7.062 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.8194, allocations: 4 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.715e-05/0.8194, allocations: 107.1 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8194, allocations: 0 / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001685/0.8196, allocations: 8 kB / 1.018 GB, free: 2.043 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001039/0.8197, allocations: 102.3 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.081e-05/0.8198, allocations: 11.19 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8198, allocations: 0 / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.8198, allocations: 14.69 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.725e-05/0.8199, allocations: 4.203 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.8201, allocations: 110.6 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.8204, allocations: 0.7001 MB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.8204, allocations: 4.188 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.8205, allocations: 11.38 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.8205, allocations: 4 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of Templates: time 0.001871/0.8223, allocations: 333.4 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches