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.001255/0.001255, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 70.73 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2252, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00186/0.2271, allocations: 0.8331 MB / 1.054 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001046/0.2272, allocations: 39.78 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.2273, allocations: 0 / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.2273, allocations: 15.86 kB / 1.054 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.559e-05/0.2274, allocations: 11.88 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.87e-05/0.2274, allocations: 15.98 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.733e-05/0.2275, allocations: 63.84 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2277, allocations: 55.94 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.2277, allocations: 31.8 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.2278, allocations: 27.86 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2278, allocations: 4 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.2278, allocations: 8 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.2278, allocations: 11.92 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.2279, allocations: 35.75 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.11e-05/0.228, allocations: 75.91 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.228, allocations: 0 / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.228, allocations: 0 / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.228, allocations: 4 kB / 1.054 GB, free: 7.078 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.0003494/0.2283, allocations: 371.3 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2284, allocations: 12.62 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.2284, allocations: 38.73 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.2284, allocations: 8.844 kB / 1.055 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.2286, allocations: 192.2 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2286, allocations: 12.28 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.2286, allocations: 8.375 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.2288, allocations: 91.94 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2288, allocations: 7.875 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.2288, allocations: 8 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2288, allocations: 0 / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.215e-05/0.2289, allocations: 35.92 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.2294, allocations: 440.5 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/0.2294, allocations: 37.28 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.179e-05/0.2294, allocations: 21.84 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.2295, allocations: 3.984 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.2295, allocations: 34.56 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/0.2295, allocations: 0 / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001443/0.2296, allocations: 57.48 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.2297, allocations: 81.05 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.2298, allocations: 164.8 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.2298, allocations: 25.7 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.2299, allocations: 104 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.2299, allocations: 4.156 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.2299, allocations: 21.72 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.23, allocations: 318.8 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.23, allocations: 4 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/0.2301, allocations: 25.7 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.2301, allocations: 21.72 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2301, allocations: 4 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.799e-05/0.2302, allocations: 61.55 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2302, allocations: 11.94 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2302, allocations: 3.984 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2302, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.323e-05/0.2303, allocations: 4 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2303, allocations: 4 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.2303, allocations: 11.78 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.2304, allocations: 4 kB / 1.056 GB, free: 4.598 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 6.107e-05/0.2304, allocations: 117.8 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.2305, allocations: 11.84 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/0.2305, allocations: 11.86 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2305, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2305, allocations: 4 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.2305, allocations: 3.938 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.2308, allocations: 474.8 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2309, allocations: 0 / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.2309, allocations: 4 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2309, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.2309, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2309, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2309, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.095e-05/0.231, allocations: 89.89 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.231, allocations: 81.11 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.2311, allocations: 15.91 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.2311, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-06/0.2311, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.2311, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.591e-05/0.2312, allocations: 119.2 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2312, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001923/0.2314, allocations: 12 kB / 1.057 GB, free: 3.559 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.0002899/0.2317, allocations: 0.6132 MB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.714e-05/0.2317, allocations: 15.94 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2318, allocations: 0 / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.2318, allocations: 12.16 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.2319, allocations: 9.562 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009847/0.2329, allocations: 1.327 MB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.2331, allocations: 0.6924 MB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.2332, allocations: 8.422 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.2332, allocations: 19.44 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.2332, allocations: 0 / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.2483, allocations: 1.553 MB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/7.085, allocations: 7.797 kB / 1.061 GB, free: 15.24 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