Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_9_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.007338/0.007338, allocations: 101 kB / 15.73 MB, free: 6.469 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.001631/0.001631, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.59 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.301, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002039/0.303, allocations: 0.8199 MB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001456/0.3032, allocations: 43.78 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.3033, allocations: 3.938 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.3033, allocations: 11.86 kB / 1.088 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.674e-05/0.3034, allocations: 11.94 kB / 1.088 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.607e-05/0.3035, allocations: 11.98 kB / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3036, allocations: 67.78 kB / 1.088 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.3038, allocations: 47.94 kB / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.3039, allocations: 23.88 kB / 1.088 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.096e-05/0.3039, allocations: 27.84 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3039, allocations: 8 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.304, allocations: 8 kB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.304, allocations: 11.94 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.304, allocations: 43.73 kB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.3042, allocations: 74.45 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3042, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3042, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3042, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 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.0004492/0.3047, allocations: 380.1 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3047, allocations: 12.03 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.3047, allocations: 38.75 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.3048, allocations: 16.75 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.305, allocations: 196.1 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.305, allocations: 8.375 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.305, allocations: 8.375 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3052, allocations: 85.36 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3052, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3052, allocations: 11.98 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3053, allocations: 4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.508e-05/0.3053, allocations: 35.92 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.3059, allocations: 436.5 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.95e-05/0.306, allocations: 37.28 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.306, allocations: 25.84 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.306, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3061, allocations: 30.56 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.3061, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001791/0.3063, allocations: 57.47 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3063, allocations: 81.36 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.3065, allocations: 168.8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.3065, allocations: 29.64 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.3066, allocations: 108 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.3066, allocations: 7.844 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.3066, allocations: 17.72 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3067, allocations: 318.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.3068, allocations: 4 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.3068, allocations: 25.72 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.3068, allocations: 21.72 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3068, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.398e-05/0.3069, allocations: 61.53 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.307, allocations: 11.94 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.307, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.307, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.3071, allocations: 8.062 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3071, allocations: 7.984 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.3071, allocations: 7.844 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3071, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 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.774e-05/0.3072, allocations: 113.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.3073, allocations: 11.84 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.3073, allocations: 7.875 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3073, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3073, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3073, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.3077, allocations: 474.8 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3078, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.3078, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/0.3078, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.3078, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3078, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3078, allocations: 8.062 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.468e-05/0.3079, allocations: 81.83 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.308, allocations: 85.02 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.308, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.002e-05/0.308, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.308, allocations: 3.938 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.308, allocations: 11.95 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.335e-05/0.3081, allocations: 117.3 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3081, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001838/0.3083, allocations: 12 kB / 1.092 GB, free: 13.23 MB / 0.8575 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.0003773/0.3087, allocations: 0.6132 MB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.19e-05/0.3088, allocations: 19.92 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3088, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.3088, allocations: 11.94 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.309, allocations: 11.91 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.3103, allocations: 1.332 MB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.3106, allocations: 0.6889 MB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.453e-05/0.3106, allocations: 12.42 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.3107, allocations: 23.42 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.3107, allocations: 4 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.3343, allocations: 1.593 MB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.098, allocations: 3.938 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches