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.006145/0.006144, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001321/0.001321, allocations: 187.2 kB / 16.67 MB, free: 5.957 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 63.89 kB / 1.054 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2945, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002029/0.2966, allocations: 0.8233 MB / 1.208 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001282/0.2968, allocations: 47.78 kB / 1.208 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.2968, allocations: 4 kB / 1.208 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.2969, allocations: 7.875 kB / 1.208 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.297, allocations: 7.875 kB / 1.208 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.874e-05/0.297, allocations: 19.97 kB / 1.208 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.2971, allocations: 63.84 kB / 1.208 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2973, allocations: 43.92 kB / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.2974, allocations: 27.86 kB / 1.208 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.035e-05/0.2974, allocations: 27.8 kB / 1.208 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.2975, allocations: 8 kB / 1.208 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.2975, allocations: 4 kB / 1.208 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.2975, allocations: 19.92 kB / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.2976, allocations: 31.8 kB / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.2977, allocations: 75.92 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2977, allocations: 3.938 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2977, allocations: 4 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.2978, allocations: 3.938 kB / 1.208 GB, free: 8.891 MB / 0.9669 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.0004664/0.2982, allocations: 375.2 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.2983, allocations: 8.625 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.2983, allocations: 46.67 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.2984, allocations: 8.844 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.2986, allocations: 196.2 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.2986, allocations: 4.375 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.2986, allocations: 12.38 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.2988, allocations: 91.88 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2988, allocations: 3.938 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.2988, allocations: 8 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2989, allocations: 0 / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.2989, allocations: 35.98 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.2995, allocations: 436.5 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.281e-05/0.2996, allocations: 33.16 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.2996, allocations: 21.88 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.2996, allocations: 4 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2997, allocations: 38.55 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.915e-06/0.2997, allocations: 3.984 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001786/0.2998, allocations: 53.48 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.2999, allocations: 85.11 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3, allocations: 154.2 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3001, allocations: 29.7 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.3001, allocations: 107.9 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.253e-06/0.3001, allocations: 256 / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.3002, allocations: 25.62 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.3003, allocations: 318.8 kB / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.3003, allocations: 4 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-05/0.3003, allocations: 21.7 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.3004, allocations: 33.66 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3004, allocations: 7.938 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.475e-05/0.3005, allocations: 53.61 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3005, allocations: 7.938 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3005, allocations: 4 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3005, allocations: 7.922 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.3006, allocations: 4 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3006, allocations: 0 / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.3007, allocations: 7.938 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.3007, allocations: 0 / 1.211 GB, free: 6.41 MB / 0.9669 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 7.559e-05/0.3007, allocations: 117.9 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.3008, allocations: 15.78 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.3008, allocations: 15.86 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3008, allocations: 0 / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3008, allocations: 0 / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3009, allocations: 4 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.3012, allocations: 470.7 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3012, allocations: 4 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.3012, allocations: 0 / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3012, allocations: 4 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.3013, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3013, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3013, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.445e-05/0.3013, allocations: 89.8 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.3014, allocations: 85.02 kB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3014, allocations: 3.984 kB / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.3014, allocations: 4 kB / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-06/0.3015, allocations: 0 / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.3015, allocations: 0 / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.598e-05/0.3015, allocations: 125.9 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3015, allocations: 0 / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001955/0.3017, allocations: 8 kB / 1.212 GB, free: 5.371 MB / 0.9669 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.0003339/0.3021, allocations: 0.6171 MB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.426e-05/0.3022, allocations: 16 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3022, allocations: 0 / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.3022, allocations: 12.09 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.3024, allocations: 13.41 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3035, allocations: 1.323 MB / 1.213 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3037, allocations: 0.6967 MB / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.196e-05/0.3038, allocations: 8.375 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.3038, allocations: 27.42 kB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.3038, allocations: 0 / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.3208, allocations: 1.609 MB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/7.762, allocations: 3.938 kB / 1.216 GB, free: 1.004 MB / 0.9669 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