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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007249/0.007249, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001929/0.001929, allocations: 199 kB / 16.68 MB, free: 5.93 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.511/2.511, allocations: 437 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.84 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8372, allocations: 151.6 MB / 1.166 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002362/0.8396, allocations: 0.8217 MB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001481/0.8398, allocations: 39.78 kB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.731e-05/0.8399, allocations: 4 kB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.989e-05/0.8399, allocations: 11.86 kB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.8401, allocations: 11.88 kB / 1.167 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.486e-05/0.8401, allocations: 15.98 kB / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.8403, allocations: 63.84 kB / 1.167 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.8404, allocations: 43.97 kB / 1.167 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.8405, allocations: 23.86 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.8406, allocations: 31.84 kB / 1.167 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.8406, allocations: 8 kB / 1.167 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.8406, allocations: 8 kB / 1.167 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.8407, allocations: 15.88 kB / 1.167 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.8407, allocations: 31.8 kB / 1.167 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.8408, allocations: 73.95 kB / 1.167 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.8408, allocations: 4 kB / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8409, allocations: 3.938 kB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.8409, allocations: 0 / 1.167 GB, free: 2.516 MB / 0.8887 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.0004996/0.8414, allocations: 379.1 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.8414, allocations: 20.86 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.8415, allocations: 38.75 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.8415, allocations: 8.844 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.8418, allocations: 196.1 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.8418, allocations: 8.375 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.8418, allocations: 8.375 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.842, allocations: 94.33 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.842, allocations: 3.938 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.842, allocations: 8 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.842, allocations: 4 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.8421, allocations: 31.98 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.8427, allocations: 440.5 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.38e-05/0.8428, allocations: 37.16 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.8428, allocations: 25.84 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.8428, allocations: 0 / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.8429, allocations: 34.59 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8429, allocations: 0 / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001902/0.8431, allocations: 61.47 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.8431, allocations: 85.36 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.8433, allocations: 156.5 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.8433, allocations: 25.7 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.8434, allocations: 108 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.8434, allocations: 3.906 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.8434, allocations: 17.72 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.8435, allocations: 322.8 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.8436, allocations: 4 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.415e-05/0.8436, allocations: 21.72 kB / 1.169 GB, free: 164 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.8436, allocations: 29.66 kB / 1.169 GB, free: 128 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8436, allocations: 0 / 1.169 GB, free: 128 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.029e-05/0.8437, allocations: 61.59 kB / 1.169 GB, free: 60 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.8438, allocations: 7.938 kB / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8438, allocations: 0 / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.8438, allocations: 8 kB / 1.169 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.8439, allocations: 8 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.8439, allocations: 3.938 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.8439, allocations: 3.906 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.8439, allocations: 4 kB / 1.17 GB, free: 24 kB / 0.8887 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.0001115/0.844, allocations: 121.8 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.8441, allocations: 11.84 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.8441, allocations: 7.875 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/0.8442, allocations: 4 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.8442, allocations: 4 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8442, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.8446, allocations: 466.8 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8446, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.8447, allocations: 7.984 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.8447, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.8447, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8447, allocations: 4.062 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8447, allocations: 4 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.577e-05/0.8448, allocations: 81.78 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.8449, allocations: 92.94 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.8449, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.8449, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.845, allocations: 4.031 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.845, allocations: 4 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.291e-05/0.8451, allocations: 121.7 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8451, allocations: 4 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001933/0.8453, allocations: 7.906 kB / 1.17 GB, free: 14.98 MB / 0.9044 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.0004454/0.8457, allocations: 0.6209 MB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.8458, allocations: 19.98 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8458, allocations: 0 / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.8459, allocations: 7.938 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.846, allocations: 8 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.8473, allocations: 1.325 MB / 1.172 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.8477, allocations: 0.6925 MB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.8477, allocations: 8.422 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.8478, allocations: 27.38 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8478, allocations: 4 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.8675, allocations: 1.584 MB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/8.439, allocations: 7.938 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > 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/jenkins1/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