Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001427/0.001427, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001449/0.001449, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.568/1.568, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.085/3.085, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_latest_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.002221/0.002221, allocations: 67.91 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.168, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002126/1.17, allocations: 0.8304 MB / 1.341 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001174/1.17, allocations: 40.97 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/1.17, allocations: 1.156 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/1.17, allocations: 9.891 kB / 1.341 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/1.17, allocations: 6.422 kB / 1.341 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.379e-05/1.17, allocations: 21 kB / 1.341 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/1.17, allocations: 63.59 kB / 1.341 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/1.17, allocations: 38.7 kB / 1.341 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/1.17, allocations: 23.66 kB / 1.341 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/1.17, allocations: 31.53 kB / 1.341 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/1.17, allocations: 9.375 kB / 1.341 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/1.17, allocations: 6.5 kB / 1.341 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/1.171, allocations: 12.81 kB / 1.341 GB, free: 15.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/1.171, allocations: 40.55 kB / 1.341 GB, free: 15.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/1.171, allocations: 76.27 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.171, allocations: 0.7969 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.394e-06/1.171, allocations: 0 / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.171, allocations: 5.062 kB / 1.341 GB, free: 15.49 MB / 1.061 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.000411/1.171, allocations: 379.3 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.171, allocations: 14.56 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.669e-05/1.171, allocations: 2.281 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.616e-05/1.171, allocations: 39 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/1.171, allocations: 9.422 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/1.171, allocations: 200.4 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/1.171, allocations: 8.312 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/1.171, allocations: 9.281 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/1.172, allocations: 99.8 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.172, allocations: 3.938 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/1.172, allocations: 1.531 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.172, allocations: 1.906 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.866e-05/1.172, allocations: 35.91 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/1.172, allocations: 434 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/1.172, allocations: 46.16 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/1.172, allocations: 19.42 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/1.172, allocations: 5.141 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/1.172, allocations: 44.34 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.172, allocations: 0 / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001724/1.173, allocations: 53.03 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/1.173, allocations: 82.95 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/1.173, allocations: 158.9 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-06/1.173, allocations: 26.95 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/1.173, allocations: 99.73 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/1.173, allocations: 13.97 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/1.173, allocations: 14.78 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.375e-05/1.173, allocations: 319.3 kB / 1.343 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/1.173, allocations: 7.484 kB / 1.343 GB, free: 13.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/1.173, allocations: 16.31 kB / 1.343 GB, free: 13.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/1.173, allocations: 32.44 kB / 1.343 GB, free: 13.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.173, allocations: 0 / 1.343 GB, free: 13.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.646e-05/1.173, allocations: 60.44 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.173, allocations: 10.02 kB / 1.343 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.173, allocations: 1.094 kB / 1.343 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.173, allocations: 0.6094 kB / 1.343 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/1.173, allocations: 6.312 kB / 1.343 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/1.173, allocations: 1.656 kB / 1.343 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/1.173, allocations: 13.92 kB / 1.343 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/1.173, allocations: 2.031 kB / 1.343 GB, free: 13.36 MB / 1.061 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.471e-05/1.173, allocations: 118.2 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/1.173, allocations: 12.14 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/1.173, allocations: 15.53 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.173, allocations: 1.719 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/1.173, allocations: 1.219 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.173, allocations: 0 / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/1.174, allocations: 483.8 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.174, allocations: 0 / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/1.174, allocations: 4.078 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.174, allocations: 1.344 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/1.174, allocations: 0.7969 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.174, allocations: 1.188 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.174, allocations: 1.406 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.796e-05/1.174, allocations: 85.06 kB / 1.344 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/1.174, allocations: 89.02 kB / 1.344 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/1.174, allocations: 7.547 kB / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/1.174, allocations: 0 / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/1.174, allocations: 1.172 kB / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/1.174, allocations: 1.875 kB / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.074e-05/1.174, allocations: 118.2 kB / 1.344 GB, free: 12.44 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.174, allocations: 0 / 1.344 GB, free: 12.44 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001832/1.174, allocations: 7.531 kB / 1.344 GB, free: 12.44 MB / 1.061 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.0003499/1.174, allocations: 0.6153 MB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001201/1.175, allocations: 19.05 kB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.175, allocations: 4.156 kB / 1.345 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/1.175, allocations: 4.359 kB / 1.345 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/1.175, allocations: 8.969 kB / 1.345 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/1.176, allocations: 1.333 MB / 1.346 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/1.176, allocations: 0.6963 MB / 1.347 GB, free: 9.887 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.084e-05/1.176, allocations: 7.375 kB / 1.347 GB, free: 9.887 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/1.176, allocations: 20.2 kB / 1.347 GB, free: 9.871 MB / 1.061 GB Notification: Performance of SimCode: time 7.31e-07/1.176, allocations: 1.375 kB / 1.347 GB, free: 9.871 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/1.195, allocations: 1.656 MB / 1.349 GB, free: 9.484 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/9.606, allocations: 18.19 kB / 1.349 GB, free: 9.473 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.528250532981474]