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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001307/0.001307, allocations: 195.1 kB / 16.14 MB, free: 6.656 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.226/1.226, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.42/2.42, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 67.17 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2247, allocations: 157.4 MB / 1.052 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001831/0.2266, allocations: 0.892 MB / 1.053 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 8.874e-05/0.2267, allocations: 39.8 kB / 1.053 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.2267, allocations: 0 / 1.053 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.2268, allocations: 3.938 kB / 1.053 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.2268, allocations: 7.938 kB / 1.053 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.746e-05/0.2269, allocations: 15.98 kB / 1.053 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.802e-05/0.227, allocations: 59.83 kB / 1.053 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2271, allocations: 47.97 kB / 1.053 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.2271, allocations: 23.81 kB / 1.053 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.2272, allocations: 27.84 kB / 1.053 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2272, allocations: 4 kB / 1.053 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.2272, allocations: 4 kB / 1.053 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.2272, allocations: 7.938 kB / 1.053 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.2273, allocations: 39.73 kB / 1.053 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.94e-05/0.2274, allocations: 67.98 kB / 1.053 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2274, allocations: 4 kB / 1.053 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2274, allocations: 0 / 1.053 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.2274, allocations: 0 / 1.053 GB, free: 6.914 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.0003329/0.2277, allocations: 375.3 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2278, allocations: 15.97 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.2278, allocations: 34.75 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.2278, allocations: 8.844 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.228, allocations: 196.1 kB / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.228, allocations: 16.28 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.228, allocations: 4.375 kB / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.2282, allocations: 93.3 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2282, allocations: 7.875 kB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2282, allocations: 4 kB / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2282, allocations: 0 / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.2283, allocations: 35.98 kB / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.2287, allocations: 444.5 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.394e-05/0.2288, allocations: 37.16 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.2288, allocations: 21.84 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.2288, allocations: 4 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.2288, allocations: 34.59 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2288, allocations: 3.938 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001361/0.229, allocations: 61.47 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.229, allocations: 77.11 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2291, allocations: 168.5 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.2292, allocations: 29.7 kB / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.2292, allocations: 100 kB / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.2292, allocations: 7.906 kB / 1.055 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.2293, allocations: 13.72 kB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.2293, allocations: 322.8 kB / 1.055 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.2294, allocations: 4 kB / 1.055 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.2294, allocations: 21.7 kB / 1.055 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.687e-05/0.2294, allocations: 37.64 kB / 1.055 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2294, allocations: 0 / 1.055 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.79e-05/0.2295, allocations: 49.61 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2295, allocations: 11.94 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2295, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.2295, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.314e-05/0.2296, allocations: 11.92 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2296, allocations: 4.062 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.2296, allocations: 11.84 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2297, allocations: 4 kB / 1.056 GB, free: 4.418 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.042e-05/0.2297, allocations: 109.8 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.2298, allocations: 11.84 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.2298, allocations: 11.88 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2298, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2298, allocations: 4 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2298, allocations: 7.922 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.2301, allocations: 474.8 kB / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2301, allocations: 4 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/0.2302, allocations: 4 kB / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2302, allocations: 0 / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.2302, allocations: 0 / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2302, allocations: 0 / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2302, allocations: 0 / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.066e-05/0.2303, allocations: 89.83 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.2303, allocations: 85.02 kB / 1.056 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2303, allocations: 4 kB / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.2303, allocations: 0 / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.2304, allocations: 3.984 kB / 1.056 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.2304, allocations: 0 / 1.056 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.274e-05/0.2304, allocations: 121.9 kB / 1.056 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2304, allocations: 0 / 1.056 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001741/0.2306, allocations: 11.94 kB / 1.056 GB, free: 3.383 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.0002794/0.2309, allocations: 0.617 MB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.07e-05/0.231, allocations: 20.02 kB / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.231, allocations: 0 / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.231, allocations: 7.938 kB / 1.057 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.2311, allocations: 9.375 kB / 1.057 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009217/0.2321, allocations: 1.34 MB / 1.058 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.2323, allocations: 0.6965 MB / 1.059 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.986e-05/0.2323, allocations: 8.438 kB / 1.059 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.2323, allocations: 27.42 kB / 1.059 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2323, allocations: 0 / 1.059 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.2666, allocations: 1.425 MB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.2669, allocations: 219.8 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/1.789, allocations: 3.938 kB / 1.061 GB, free: 14.93 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