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.001316/0.001316, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001455/0.001455, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.313/3.313, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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.002067/0.002067, allocations: 61.17 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4301, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002341/0.4324, allocations: 0.7998 MB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001448/0.4326, allocations: 43.78 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.4326, allocations: 4 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.022e-05/0.4327, allocations: 11.86 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.4328, allocations: 3.938 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.088e-05/0.4329, allocations: 23.98 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.4331, allocations: 67.77 kB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.4333, allocations: 27.98 kB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.4334, allocations: 27.86 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.4335, allocations: 27.86 kB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.4335, allocations: 7.938 kB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.752e-05/0.4335, allocations: 8 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.4335, allocations: 15.97 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.4336, allocations: 31.75 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.4338, allocations: 75.86 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4338, allocations: 7.938 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4338, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.4338, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 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.0006625/0.4345, allocations: 306 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 8.975e-05/0.4345, allocations: 8.078 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.384e-05/0.4346, allocations: 4.188 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.4346, allocations: 42.69 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.996e-05/0.4347, allocations: 8.891 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.4349, allocations: 138.2 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.435, allocations: 8.375 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.435, allocations: 8.375 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.4352, allocations: 95.7 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4352, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4352, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4352, allocations: 7.938 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.4353, allocations: 35.98 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.4361, allocations: 391.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/0.4362, allocations: 37.28 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.4362, allocations: 21.84 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.4362, allocations: 4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.4363, allocations: 38.5 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.4363, allocations: 3.938 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002401/0.4365, allocations: 49.64 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/0.4366, allocations: 85.05 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.4368, allocations: 161.2 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.4369, allocations: 25.7 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.437, allocations: 108 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.437, allocations: 7.953 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.437, allocations: 17.97 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.4372, allocations: 318.8 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.4372, allocations: 8 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/0.4373, allocations: 17.72 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/0.4373, allocations: 29.7 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4373, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.549e-05/0.4374, allocations: 53.59 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.4374, allocations: 14.12 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4375, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.4375, allocations: 4.062 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.4376, allocations: 12.08 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.4376, allocations: 7.984 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.4376, allocations: 7.891 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.4376, allocations: 3.984 kB / 1.33 GB, free: 14.06 MB / 1.029 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 0.0001223/0.4377, allocations: 118.3 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.4378, allocations: 11.89 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.4378, allocations: 7.812 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-06/0.4378, allocations: 3.984 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4378, allocations: 4 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4378, allocations: 8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.4383, allocations: 445.8 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4383, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.4383, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4383, allocations: 3.938 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4383, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4383, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4383, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.4384, allocations: 77.88 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.4385, allocations: 23.94 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.4385, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.4385, allocations: 4 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.4385, allocations: 3.984 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.4385, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001153/0.4387, allocations: 121.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4387, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001942/0.4389, allocations: 8 kB / 1.331 GB, free: 13.13 MB / 1.029 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.0005207/0.4394, allocations: 0.6054 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.4395, allocations: 27.95 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4395, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.4395, allocations: 8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.4397, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.4411, allocations: 1.334 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.522e-05/0.4412, allocations: 83.38 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.4412, allocations: 12.42 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.4413, allocations: 23.42 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4413, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.4644, allocations: 1.747 MB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.89, allocations: 8.812 kB / 1.334 GB, free: 9.277 MB / 1.029 GB " [Timeout remaining time 288] (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: 19.09118217404466]