Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_latest_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.001418/0.001418, 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.00153/0.00153, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.266/2.266, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.11/4.11, allocations: 461.9 MB / 0.7343 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.08 kB / 0.8987 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3345, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002552/0.3371, allocations: 0.8958 MB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001257/0.3372, allocations: 39.78 kB / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.3373, allocations: 4 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.306e-05/0.3373, allocations: 3.938 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.637e-05/0.3374, allocations: 3.938 kB / 1.053 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.037e-05/0.3375, allocations: 19.98 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3376, allocations: 59.84 kB / 1.053 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.3378, allocations: 43.97 kB / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.3379, allocations: 31.8 kB / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.338, allocations: 23.86 kB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.338, allocations: 4 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.338, allocations: 12 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.338, allocations: 19.92 kB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.3381, allocations: 39.73 kB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.3382, allocations: 60 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3382, allocations: 7.984 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3382, allocations: 0 / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3383, allocations: 0 / 1.054 GB, free: 7.355 MB / 0.8106 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.0004855/0.3388, allocations: 371.3 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3388, allocations: 8.625 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.8e-05/0.3389, allocations: 50.73 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.3389, allocations: 8.844 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.3391, allocations: 188.2 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3392, allocations: 8.281 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.3392, allocations: 8.375 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.3394, allocations: 97.61 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3394, allocations: 11.86 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3394, allocations: 0 / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3395, allocations: 7.938 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3396, allocations: 35.98 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.3402, allocations: 448.5 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.677e-05/0.3403, allocations: 37.22 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.3404, allocations: 17.78 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.3404, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3404, allocations: 46.58 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.3404, allocations: 0 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002177/0.3406, allocations: 53.48 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3407, allocations: 81.36 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.3409, allocations: 165 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3409, allocations: 25.7 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.341, allocations: 100 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.341, allocations: 7.906 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.3411, allocations: 13.72 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3412, allocations: 322.8 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.3412, allocations: 4 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.3413, allocations: 25.7 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.278e-05/0.3413, allocations: 25.66 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3413, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001192/0.3415, allocations: 57.61 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3415, allocations: 7.938 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3415, allocations: 0 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3415, allocations: 4.062 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.3416, allocations: 15.92 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3416, allocations: 3.984 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.3417, allocations: 15.84 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.3417, allocations: 0 / 1.056 GB, free: 4.859 MB / 0.8106 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.714e-05/0.3418, allocations: 113.8 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.3419, allocations: 11.84 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.3419, allocations: 15.86 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3419, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3419, allocations: 4 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3419, allocations: 3.938 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.3425, allocations: 466.8 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3425, allocations: 0 / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.3425, allocations: 8 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3425, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3425, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3426, allocations: 8.062 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3426, allocations: 3.938 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.3427, allocations: 81.77 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.3427, allocations: 85.02 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.3428, allocations: 3.984 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.563e-05/0.3428, allocations: 4 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.3428, allocations: 4.031 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3429, allocations: 4 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000114/0.343, allocations: 119.2 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.343, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000356/0.3433, allocations: 4 kB / 1.057 GB, free: 3.824 MB / 0.8106 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.0004269/0.3438, allocations: 0.6209 MB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3439, allocations: 16 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3439, allocations: 0 / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.3439, allocations: 7.938 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.3442, allocations: 11.94 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.3457, allocations: 1.339 MB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.346, allocations: 0.6963 MB / 1.059 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.468e-05/0.3461, allocations: 8.422 kB / 1.059 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.3461, allocations: 23.44 kB / 1.059 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.3461, allocations: 0 / 1.059 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.608/0.9542, allocations: 1.465 MB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003269/0.9546, allocations: 216.8 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.574, allocations: 3.938 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches