Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001429/0.001429, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001695/0.001695, allocations: 189.8 kB / 16.25 MB, free: 6.648 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.562/1.562, allocations: 222.9 MB / 239.9 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.759/2.759, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002079, allocations: 63.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7347, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002156/0.7369, allocations: 0.8857 MB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001078/0.737, allocations: 43.78 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.7371, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.7371, allocations: 3.938 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.852e-05/0.7372, allocations: 3.938 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.06e-05/0.7373, allocations: 19.98 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.7374, allocations: 59.84 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.7376, allocations: 39.97 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.7376, allocations: 27.81 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.7377, allocations: 27.84 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.7377, allocations: 8 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.7377, allocations: 8 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.7378, allocations: 15.92 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.7378, allocations: 39.8 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.7379, allocations: 65.69 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7379, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7379, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.738, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.7637 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.00049/0.7384, allocations: 387.1 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7385, allocations: 8.031 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.7385, allocations: 12.84 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.7388, allocations: 200.1 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.7388, allocations: 8.375 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.7388, allocations: 8.375 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.739, allocations: 97.42 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.739, allocations: 192 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.739, allocations: 3.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.7391, allocations: 3.938 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.184e-05/0.7392, allocations: 39.92 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.7397, allocations: 428.6 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.95e-05/0.7398, allocations: 45.27 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.7399, allocations: 21.83 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.7399, allocations: 7.938 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.7399, allocations: 38.56 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 3.257e-06/0.7399, allocations: 0 / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.000193/0.7401, allocations: 65.38 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.7402, allocations: 81.05 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.7404, allocations: 164.3 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.7404, allocations: 29.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.7405, allocations: 99.98 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.7405, allocations: 7.891 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.7405, allocations: 17.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7407, allocations: 318.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.7407, allocations: 7.984 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.7407, allocations: 17.72 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.7408, allocations: 25.72 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7408, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.896e-05/0.7409, allocations: 65.53 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7409, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7409, allocations: 3.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7409, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.741, allocations: 8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.741, allocations: 64 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.7411, allocations: 7.906 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.7411, allocations: 4 kB / 1.02 GB, free: 15.06 MB / 0.7794 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.944e-05/0.7412, allocations: 118.6 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.7412, allocations: 11.89 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.7412, allocations: 11.81 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7412, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7413, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7413, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.7417, allocations: 470.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7417, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.7417, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.7417, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.7418, allocations: 7.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.7418, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7418, allocations: 11.88 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.13e-05/0.7419, allocations: 77.91 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.742, allocations: 88.94 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.742, allocations: 7.938 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.955e-05/0.742, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.742, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.742, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001134/0.7421, allocations: 119.9 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7421, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001862/0.7423, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 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.0001246/0.7425, allocations: 99.25 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.853e-05/0.7426, allocations: 15.98 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7426, allocations: 3.938 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.258e-05/0.7426, allocations: 8 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.7428, allocations: 12.19 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.7432, allocations: 174.8 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.7435, allocations: 0.7002 MB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.7435, allocations: 4.438 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.7436, allocations: 11.44 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7436, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.002947/0.7465, allocations: 470.9 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches