Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001375/0.001375, allocations: 116.7 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.001442/0.001442, allocations: 209.6 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.56/1.56, 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 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.87/2.87, allocations: 476.7 MB / 0.7678 GB, free: 9.359 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.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.002046/0.002046, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9302/0.9323, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002346/0.9346, allocations: 0.8269 MB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.9348, allocations: 45 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.9348, allocations: 1.094 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.208e-05/0.9348, allocations: 10.69 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.521e-05/0.9349, allocations: 9.875 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.295e-05/0.935, allocations: 19.81 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.9351, allocations: 62.84 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.9352, allocations: 32.48 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.9353, allocations: 26.12 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.9353, allocations: 30.72 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.9353, allocations: 6.406 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.9354, allocations: 6.562 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.9354, allocations: 20.33 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.9354, allocations: 37.31 kB / 1.28 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.9356, allocations: 67.89 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.9356, allocations: 4.562 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9356, allocations: 0 / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.9356, allocations: 0 / 1.28 GB, free: 10.98 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.0004755/0.936, allocations: 384.8 kB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.9361, allocations: 9.719 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.641e-05/0.9361, allocations: 6.281 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.9362, allocations: 43.98 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.9362, allocations: 8.891 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.9364, allocations: 201.3 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.9364, allocations: 2.562 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.9364, allocations: 10.03 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.9366, allocations: 108 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.9366, allocations: 0 / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.9366, allocations: 1.906 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.9366, allocations: 2.719 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.9367, allocations: 35.36 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.9373, allocations: 438.1 kB / 1.281 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.275e-05/0.9374, allocations: 41.19 kB / 1.281 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.9374, allocations: 20.69 kB / 1.281 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.9374, allocations: 4 kB / 1.281 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.9375, allocations: 41.33 kB / 1.281 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.9375, allocations: 0 / 1.281 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001709/0.9376, allocations: 52.72 kB / 1.281 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.9377, allocations: 78.27 kB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.9378, allocations: 160.9 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.9379, allocations: 25.95 kB / 1.282 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.9379, allocations: 107.9 kB / 1.282 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.9379, allocations: 6.359 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.938, allocations: 17.73 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9381, allocations: 323.8 kB / 1.282 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.9381, allocations: 3.688 kB / 1.282 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.9382, allocations: 20.5 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/0.9382, allocations: 30.83 kB / 1.282 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9382, allocations: 1.156 kB / 1.282 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.831e-05/0.9383, allocations: 57.36 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.9383, allocations: 12.92 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.9383, allocations: 1.125 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.9383, allocations: 1.031 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.9384, allocations: 6.516 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.9384, allocations: 1.094 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.9384, allocations: 14.88 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.9384, allocations: 1.156 kB / 1.282 GB, free: 8.844 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.575e-05/0.9385, allocations: 113.8 kB / 1.282 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.9386, allocations: 16.2 kB / 1.282 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.9386, allocations: 13.22 kB / 1.282 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.9386, allocations: 4.078 kB / 1.282 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9386, allocations: 1.781 kB / 1.282 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9386, allocations: 0.9375 kB / 1.282 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.9391, allocations: 474.4 kB / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9391, allocations: 0 / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.9391, allocations: 4.5 kB / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.9391, allocations: 1.312 kB / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.9391, allocations: 4.75 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.9391, allocations: 1.344 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.9391, allocations: 0 / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.681e-05/0.9392, allocations: 85.12 kB / 1.283 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.9393, allocations: 90.69 kB / 1.283 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.9393, allocations: 1.828 kB / 1.283 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.364e-05/0.9393, allocations: 5.062 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.9393, allocations: 5.922 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.9393, allocations: 0.9375 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.493e-05/0.9394, allocations: 118.2 kB / 1.283 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9394, allocations: 4.031 kB / 1.283 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001866/0.9396, allocations: 7 kB / 1.283 GB, free: 7.918 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.00047/0.9401, allocations: 0.6163 MB / 1.284 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.428e-05/0.9402, allocations: 23.7 kB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9402, allocations: 0.5625 kB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.9402, allocations: 8.141 kB / 1.284 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.9403, allocations: 9.781 kB / 1.284 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.9418, allocations: 1.324 MB / 1.285 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.9421, allocations: 0.6965 MB / 1.286 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.9421, allocations: 7.422 kB / 1.286 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.9422, allocations: 25.38 kB / 1.286 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.9422, allocations: 0 / 1.286 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.9595, allocations: 1.636 MB / 1.287 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.636/9.595, allocations: 20.84 kB / 1.287 GB, free: 4.922 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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: 15.979277573991567]