Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 113.9 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.612/1.612, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 79.88 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9987/1.001, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002147/1.003, allocations: 0.8336 MB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001302/1.003, allocations: 41.59 kB / 1.28 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/1.003, allocations: 1.625 kB / 1.28 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/1.003, allocations: 9.422 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/1.003, allocations: 10.06 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.983e-05/1.003, allocations: 20.53 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/1.003, allocations: 59.98 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/1.004, allocations: 34.53 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/1.004, allocations: 31.89 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/1.004, allocations: 31.36 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/1.004, allocations: 5.531 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/1.004, allocations: 6.219 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/1.004, allocations: 15.77 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/1.004, allocations: 37.69 kB / 1.28 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/1.004, allocations: 73.08 kB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.004, allocations: 4 kB / 1.28 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/1.004, allocations: 0 / 1.28 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.726e-06/1.004, allocations: 1.219 kB / 1.28 GB, free: 10.99 MB / 0.9981 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.0005258/1.004, allocations: 383.2 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.005, allocations: 11.14 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.451e-05/1.005, allocations: 5.594 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/1.005, allocations: 39.22 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/1.005, allocations: 9.984 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/1.005, allocations: 192.8 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/1.005, allocations: 7.031 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/1.005, allocations: 5.5 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/1.005, allocations: 106.3 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.005, allocations: 1.125 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/1.005, allocations: 0 / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.005, allocations: 2.156 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.855e-05/1.005, allocations: 36.66 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/1.006, allocations: 445.7 kB / 1.281 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.947e-05/1.006, allocations: 41.19 kB / 1.281 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/1.006, allocations: 24.64 kB / 1.281 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/1.006, allocations: 1.125 kB / 1.281 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/1.006, allocations: 40.36 kB / 1.281 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.006, allocations: 0 / 1.281 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001816/1.006, allocations: 52.09 kB / 1.281 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/1.006, allocations: 78.94 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/1.006, allocations: 164.5 kB / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/1.006, allocations: 26.8 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/1.007, allocations: 107.7 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/1.007, allocations: 5.312 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/1.007, allocations: 22.2 kB / 1.282 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.007, allocations: 320.1 kB / 1.282 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/1.007, allocations: 4.422 kB / 1.282 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/1.007, allocations: 21.08 kB / 1.282 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/1.007, allocations: 30.56 kB / 1.282 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/1.007, allocations: 0 / 1.282 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.526e-05/1.007, allocations: 57.34 kB / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.007, allocations: 13.59 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.007, allocations: 1.344 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.007, allocations: 0.6094 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/1.007, allocations: 6.609 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/1.007, allocations: 0.6875 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/1.007, allocations: 10.56 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/1.007, allocations: 9.047 kB / 1.282 GB, free: 8.852 MB / 0.9981 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.599e-05/1.007, allocations: 119.1 kB / 1.282 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/1.007, allocations: 11.84 kB / 1.282 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/1.007, allocations: 12.28 kB / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/1.007, allocations: 1.766 kB / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.007, allocations: 0.8438 kB / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/1.007, allocations: 0 / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/1.008, allocations: 471.7 kB / 1.283 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.008, allocations: 4.062 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/1.008, allocations: 4.031 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.008, allocations: 1.062 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/1.008, allocations: 1.859 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.008, allocations: 0 / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.008, allocations: 1.219 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.279e-05/1.008, allocations: 84.64 kB / 1.283 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/1.008, allocations: 94.47 kB / 1.283 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/1.008, allocations: 1.188 kB / 1.283 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/1.008, allocations: 1.625 kB / 1.283 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/1.008, allocations: 1.766 kB / 1.283 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/1.008, allocations: 1.062 kB / 1.283 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.798e-05/1.008, allocations: 122.4 kB / 1.283 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.008, allocations: 0.8438 kB / 1.283 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001829/1.008, allocations: 7.25 kB / 1.283 GB, free: 7.938 MB / 0.9981 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.0004275/1.009, allocations: 0.6232 MB / 1.284 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.587e-05/1.009, allocations: 15.83 kB / 1.284 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.009, allocations: 0 / 1.284 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/1.009, allocations: 12.77 kB / 1.284 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/1.009, allocations: 9.719 kB / 1.284 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/1.01, allocations: 1.318 MB / 1.285 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/1.011, allocations: 0.6998 MB / 1.286 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.187e-05/1.011, allocations: 7.328 kB / 1.286 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/1.011, allocations: 21.58 kB / 1.286 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.011, allocations: 0 / 1.286 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/1.03, allocations: 1.644 MB / 1.287 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.541/9.571, allocations: 15.88 kB / 1.287 GB, free: 4.957 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.07788111199625]