Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001464/0.001464, allocations: 119 kB / 17.17 MB, free: 5.906 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.001544/0.001544, allocations: 211 kB / 20.13 MB, free: 2.965 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.09/3.09, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_12_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.001963/0.001963, allocations: 63.91 kB / 1.15 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164/1.166, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002222/1.168, allocations: 0.8383 MB / 1.322 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001118/1.168, allocations: 40.61 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/1.168, allocations: 0 / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/1.168, allocations: 7.875 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.884e-05/1.168, allocations: 18.08 kB / 1.322 GB, free: 24.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.706e-05/1.168, allocations: 18.03 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/1.169, allocations: 63.78 kB / 1.322 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/1.169, allocations: 30.23 kB / 1.322 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.767e-05/1.169, allocations: 23.19 kB / 1.322 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/1.169, allocations: 35.14 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/1.169, allocations: 8.062 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-06/1.169, allocations: 5.125 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/1.169, allocations: 17.69 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/1.169, allocations: 36.59 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/1.169, allocations: 72.05 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.169, allocations: 2.531 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.033e-06/1.169, allocations: 0 / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.169, allocations: 4 kB / 1.323 GB, free: 23.98 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.0004527/1.169, allocations: 378.7 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/1.17, allocations: 14.42 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.833e-05/1.17, allocations: 2.844 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/1.17, allocations: 37.44 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/1.17, allocations: 10.45 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/1.17, allocations: 199.1 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/1.17, allocations: 13.62 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/1.17, allocations: 2.969 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/1.17, allocations: 103.8 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.17, allocations: 0 / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/1.17, allocations: 6.75 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.17, allocations: 2.406 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.69e-05/1.17, allocations: 30.66 kB / 1.323 GB, free: 23.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/1.171, allocations: 444.3 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.446e-05/1.171, allocations: 36 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/1.171, allocations: 19.47 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/1.171, allocations: 0 / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/1.171, allocations: 45.22 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/1.171, allocations: 3.938 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001804/1.171, allocations: 56.02 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/1.171, allocations: 79.86 kB / 1.324 GB, free: 22.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/1.171, allocations: 161.5 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/1.171, allocations: 25.7 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/1.171, allocations: 101.1 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/1.171, allocations: 11.95 kB / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/1.171, allocations: 16.59 kB / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/1.171, allocations: 320.8 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/1.171, allocations: 12.42 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/1.171, allocations: 12.56 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/1.171, allocations: 35.91 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.171, allocations: 0 / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.049e-05/1.171, allocations: 54.77 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.171, allocations: 8.969 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.171, allocations: 0 / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.171, allocations: 3.984 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/1.171, allocations: 12.19 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/1.171, allocations: 2.562 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/1.172, allocations: 14.45 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/1.172, allocations: 64 / 1.325 GB, free: 21.84 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 5.82e-05/1.172, allocations: 117.1 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/1.172, allocations: 14.83 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/1.172, allocations: 9.562 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/1.172, allocations: 0 / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.172, allocations: 2.75 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.172, allocations: 4 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/1.172, allocations: 475.4 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.172, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/1.172, allocations: 2.719 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/1.172, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/1.172, allocations: 3.375 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.172, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.172, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.76e-05/1.172, allocations: 88.47 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/1.172, allocations: 95.31 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/1.172, allocations: 3.062 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/1.172, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/1.172, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/1.172, allocations: 2.781 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.213e-05/1.172, allocations: 123.6 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.172, allocations: 0 / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001846/1.172, allocations: 6.094 kB / 1.326 GB, free: 20.93 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.0002685/1.173, allocations: 0.6208 MB / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.318e-05/1.173, allocations: 13.16 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.173, allocations: 4.156 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/1.173, allocations: 14 kB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/1.173, allocations: 14.69 kB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/1.174, allocations: 1.331 MB / 1.328 GB, free: 19.06 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/1.174, allocations: 0.6969 MB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.003e-05/1.174, allocations: 9.891 kB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/1.174, allocations: 22.41 kB / 1.328 GB, free: 18.34 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.174, allocations: 0 / 1.328 GB, free: 18.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/1.192, allocations: 1.625 MB / 1.33 GB, free: 17.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/9.5, allocations: 17.05 kB / 1.33 GB, free: 17.95 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.470484404999297]