Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.00101/0.001009, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001044/0.001044, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 73.48 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2349, allocations: 157.4 MB / 1.052 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001882/0.2368, allocations: 0.8842 MB / 1.053 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.416e-05/0.2369, allocations: 39.78 kB / 1.053 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.237, allocations: 4 kB / 1.053 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.237, allocations: 3.938 kB / 1.053 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.2371, allocations: 3.984 kB / 1.053 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.453e-05/0.2371, allocations: 19.94 kB / 1.053 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.939e-05/0.2372, allocations: 59.84 kB / 1.053 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2373, allocations: 43.95 kB / 1.053 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.062e-05/0.2374, allocations: 23.86 kB / 1.053 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.2374, allocations: 27.8 kB / 1.053 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2375, allocations: 4 kB / 1.053 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.2375, allocations: 8 kB / 1.053 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.2375, allocations: 15.92 kB / 1.053 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.2375, allocations: 39.75 kB / 1.053 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.817e-05/0.2376, allocations: 67.97 kB / 1.053 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2376, allocations: 0 / 1.053 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2376, allocations: 0 / 1.053 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.2377, allocations: 0 / 1.053 GB, free: 7.016 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.0003534/0.238, allocations: 371.3 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.238, allocations: 11.97 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.2381, allocations: 50.67 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.2381, allocations: 8.844 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.2383, allocations: 184.2 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2383, allocations: 20.16 kB / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.2383, allocations: 8.375 kB / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2385, allocations: 93.81 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2385, allocations: 3.938 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2385, allocations: 4 kB / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2385, allocations: 8 kB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.2386, allocations: 35.92 kB / 1.054 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.2391, allocations: 440.6 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.59e-05/0.2391, allocations: 41.25 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.2391, allocations: 17.78 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.2392, allocations: 3.984 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.2392, allocations: 34.56 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2392, allocations: 0 / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001392/0.2393, allocations: 53.73 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.2394, allocations: 81.11 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2395, allocations: 166.2 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.2395, allocations: 25.7 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.2396, allocations: 104 kB / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.678e-06/0.2396, allocations: 7.906 kB / 1.055 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.2397, allocations: 17.72 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2398, allocations: 314.8 kB / 1.055 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.2398, allocations: 12 kB / 1.055 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.2398, allocations: 25.64 kB / 1.055 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.2399, allocations: 21.72 kB / 1.055 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2399, allocations: 4 kB / 1.055 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.435e-05/0.2399, allocations: 57.55 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.24, allocations: 7.938 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.24, allocations: 8.047 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.24, allocations: 4 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.24, allocations: 7.938 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2401, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.2401, allocations: 11.84 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2401, allocations: 4 kB / 1.056 GB, free: 4.52 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 7.211e-05/0.2402, allocations: 113.8 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.2402, allocations: 11.84 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.2402, allocations: 11.86 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2403, allocations: 4 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2403, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.2403, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.2406, allocations: 470.8 kB / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2406, allocations: 3.938 kB / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.2406, allocations: 4 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2406, allocations: 0 / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2407, allocations: 12 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2407, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2407, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.464e-05/0.2407, allocations: 81.83 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.2408, allocations: 85.02 kB / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2408, allocations: 3.984 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.2408, allocations: 0 / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.2408, allocations: 8.031 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.2409, allocations: 0 / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.946e-05/0.2409, allocations: 122.5 kB / 1.056 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2409, allocations: 0 / 1.056 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001779/0.2411, allocations: 12 kB / 1.056 GB, free: 3.484 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.000302/0.2414, allocations: 0.6149 MB / 1.057 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.94e-05/0.2415, allocations: 19.94 kB / 1.057 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2415, allocations: 0 / 1.057 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.2415, allocations: 8 kB / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.2417, allocations: 8 kB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2427, allocations: 1.344 MB / 1.058 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.2429, allocations: 0.6926 MB / 1.059 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.2429, allocations: 8.422 kB / 1.059 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.243, allocations: 23.44 kB / 1.059 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.243, allocations: 0 / 1.059 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009619/0.2526, allocations: 1.427 MB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.2529, allocations: 217.9 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.719, allocations: 0 / 1.061 GB, free: 15.05 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches