Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_10_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.00588/0.00588, 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.001553/0.001553, 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.82/2.82, allocations: 437.1 MB / 0.7106 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 67.88 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2852, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002145/0.2874, allocations: 0.814 MB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001432/0.2875, allocations: 47.78 kB / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.2876, allocations: 0 / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.385e-05/0.2877, allocations: 11.86 kB / 1.167 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/0.2877, allocations: 11.88 kB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.656e-05/0.2878, allocations: 27.92 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.2879, allocations: 51.91 kB / 1.167 GB, free: 6.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.288, allocations: 43.95 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.2881, allocations: 27.81 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.2882, allocations: 35.78 kB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.2882, allocations: 11.94 kB / 1.167 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.2882, allocations: 4 kB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.2882, allocations: 15.94 kB / 1.167 GB, free: 6.145 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.2883, allocations: 35.8 kB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.2884, allocations: 75.8 kB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2884, allocations: 0 / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2884, allocations: 0 / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2884, allocations: 0 / 1.167 GB, free: 6.035 MB / 0.92 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.0004606/0.2889, allocations: 387.1 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.289, allocations: 12.03 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.289, allocations: 38.75 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.2891, allocations: 16.84 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.2893, allocations: 192.2 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2893, allocations: 4.375 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.2893, allocations: 8.375 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2895, allocations: 91.89 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2896, allocations: 11.88 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2896, allocations: 4 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2896, allocations: 0 / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/0.2897, allocations: 39.92 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.2903, allocations: 436.7 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.2904, allocations: 45.19 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.2904, allocations: 17.84 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.2904, allocations: 0 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.2905, allocations: 34.56 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2905, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002071/0.2907, allocations: 61.73 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.2907, allocations: 81.11 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.2909, allocations: 159.9 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.2909, allocations: 25.7 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.291, allocations: 100.1 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.291, allocations: 7.891 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.2911, allocations: 17.72 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2912, allocations: 322.8 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.2913, allocations: 4.031 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.2913, allocations: 21.72 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.2913, allocations: 25.66 kB / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2913, allocations: 0 / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/0.2914, allocations: 65.53 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2915, allocations: 11.94 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2915, allocations: 8 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2915, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.2916, allocations: 4 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.2916, allocations: 4 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.2916, allocations: 0 / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.2916, allocations: 4 kB / 1.17 GB, free: 3.547 MB / 0.92 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.89e-05/0.2917, allocations: 113.8 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.2918, allocations: 11.89 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.2918, allocations: 11.88 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2918, allocations: 4.094 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.2918, allocations: 4 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2918, allocations: 7.922 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.2923, allocations: 470.7 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2923, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.2923, allocations: 7.984 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2923, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.2923, allocations: 4.062 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.2923, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2924, allocations: 7.938 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.56e-05/0.2925, allocations: 77.89 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.2925, allocations: 89.05 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.2925, allocations: 4 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.2926, allocations: 4.031 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.2926, allocations: 4 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.2926, allocations: 0 / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.728e-05/0.2927, allocations: 119.9 kB / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2927, allocations: 0 / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002007/0.2929, allocations: 11.94 kB / 1.17 GB, free: 2.496 MB / 0.92 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.0004359/0.2933, allocations: 0.621 MB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.765e-05/0.2935, allocations: 23.92 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2935, allocations: 4 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-06/0.2935, allocations: 4 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.2936, allocations: 6.062 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.2949, allocations: 1.337 MB / 1.172 GB, free: 384 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.2953, allocations: 0.6924 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.2953, allocations: 8.422 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.2953, allocations: 27.44 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2954, allocations: 3.938 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.576/1.872, allocations: 1.574 MB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/16.65, allocations: 10.7 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches