Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_11_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.00858/0.00858, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001895/0.001895, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.911/2.911, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.91 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3106, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001934/0.3126, allocations: 0.8231 MB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/0.3127, allocations: 39.84 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.3128, allocations: 3.938 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.3128, allocations: 11.86 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.432e-05/0.3129, allocations: 11.88 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.739e-05/0.313, allocations: 15.98 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.932e-05/0.3131, allocations: 59.84 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3132, allocations: 59.83 kB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.18e-05/0.3133, allocations: 27.81 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.3133, allocations: 27.84 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.3134, allocations: 8 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.3134, allocations: 7.938 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.3134, allocations: 8 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.3135, allocations: 39.73 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.3136, allocations: 79.58 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3136, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3136, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.3136, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 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.0004342/0.314, allocations: 379.1 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3141, allocations: 8.031 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.3141, allocations: 38.75 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.3142, allocations: 12.84 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.3144, allocations: 196.2 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3144, allocations: 12.31 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3144, allocations: 4.375 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3146, allocations: 93.73 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3146, allocations: 3.938 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3146, allocations: 8 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3146, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.794e-05/0.3147, allocations: 35.92 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.3152, allocations: 444.7 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.243e-05/0.3153, allocations: 37.25 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.3154, allocations: 17.78 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.3154, allocations: 8 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3154, allocations: 30.56 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3154, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001638/0.3156, allocations: 57.52 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3156, allocations: 81.11 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.3158, allocations: 164.4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.3158, allocations: 33.7 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.3159, allocations: 104.1 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.214e-06/0.3159, allocations: 7.891 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.3159, allocations: 17.67 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3161, allocations: 318.8 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.3161, allocations: 8 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.3161, allocations: 21.66 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.494e-05/0.3162, allocations: 29.72 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3162, allocations: 0 / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.505e-05/0.3163, allocations: 57.58 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3163, allocations: 7.938 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3163, allocations: 4 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3163, allocations: 4 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.3164, allocations: 8 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3164, allocations: 3.984 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.3164, allocations: 12.09 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.3165, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 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.039e-05/0.3165, allocations: 113.8 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.3166, allocations: 15.88 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.3166, allocations: 7.875 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3166, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3166, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3166, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.3171, allocations: 478.7 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3171, allocations: 4 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.3171, allocations: 0 / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3171, allocations: 4 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.3171, allocations: 3.938 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3171, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3171, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.023e-05/0.3172, allocations: 85.94 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.3173, allocations: 85.06 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3173, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.3173, allocations: 4 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.3173, allocations: 3.938 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3173, allocations: 3.984 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.186e-05/0.3174, allocations: 117.3 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3175, allocations: 4 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001913/0.3176, allocations: 12 kB / 1.224 GB, free: 9.547 MB / 0.9825 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.0003907/0.318, allocations: 0.6137 MB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.271e-05/0.3181, allocations: 23.95 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3181, allocations: 0 / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.288e-05/0.3182, allocations: 11.94 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.3183, allocations: 9.891 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.3196, allocations: 1.327 MB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3199, allocations: 0.6968 MB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.3199, allocations: 8.422 kB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.32, allocations: 27.42 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.32, allocations: 0 / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.3414, allocations: 1.571 MB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.978, allocations: 12.75 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches