Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001779/0.001779, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002431/0.002431, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.738 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.871/2.871, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] 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_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",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.00216/0.00216, allocations: 64.53 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3385, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002311/0.3408, allocations: 0.7989 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.3409, allocations: 39.8 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.817e-05/0.341, allocations: 4 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.3411, allocations: 7.875 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.3412, allocations: 11.86 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.826e-05/0.3412, allocations: 23.97 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.3413, allocations: 55.84 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3415, allocations: 35.5 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.854e-05/0.3416, allocations: 27.86 kB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.245e-05/0.3416, allocations: 27.8 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3417, allocations: 4 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.3417, allocations: 8 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.3417, allocations: 15.92 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.3417, allocations: 23.81 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3419, allocations: 81.31 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3419, allocations: 0 / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3419, allocations: 0 / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.3419, allocations: 4 kB / 1.284 GB, free: 11.24 MB / 0.9825 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.0004993/0.3424, allocations: 306.1 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3424, allocations: 8.031 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.3425, allocations: 46.67 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.3425, allocations: 8.891 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.3427, allocations: 134.4 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3427, allocations: 4.312 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.3428, allocations: 12.38 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.3429, allocations: 91.8 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3429, allocations: 3.938 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.343, allocations: 12 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.343, allocations: 4 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.343, allocations: 39.97 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.3436, allocations: 391.8 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.575e-05/0.3437, allocations: 37.22 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.3437, allocations: 17.77 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.3437, allocations: 12.02 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.3438, allocations: 34.56 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3438, allocations: 4 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.3439, allocations: 53.53 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.344, allocations: 77.11 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.3442, allocations: 158.2 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3442, allocations: 33.64 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.3443, allocations: 108 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.904e-06/0.3443, allocations: 3.953 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.3443, allocations: 17.72 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3445, allocations: 322.8 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.3445, allocations: 256 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.3445, allocations: 29.7 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.3445, allocations: 25.66 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3445, allocations: 0 / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.349e-05/0.3446, allocations: 57.66 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3447, allocations: 14.73 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3447, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3447, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.3447, allocations: 11.94 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3447, allocations: 4.062 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.3448, allocations: 3.953 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3448, allocations: 4 kB / 1.286 GB, free: 8.957 MB / 0.9825 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.636e-05/0.3449, allocations: 113.8 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.3449, allocations: 11.89 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.3449, allocations: 15.8 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3449, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.345, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.345, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.3454, allocations: 441.8 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3454, allocations: 3.938 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.3454, allocations: 4 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3454, allocations: 0 / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.3454, allocations: 4 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3454, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3454, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.3455, allocations: 85.81 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.3456, allocations: 11.91 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3456, allocations: 7.984 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.3456, allocations: 64 / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.3456, allocations: 8 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.3456, allocations: 3.938 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001134/0.3457, allocations: 125.7 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3457, allocations: 0 / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001878/0.3459, allocations: 8 kB / 1.287 GB, free: 8.043 MB / 0.9825 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.0004396/0.3464, allocations: 0.6171 MB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.464e-05/0.3464, allocations: 12 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3464, allocations: 4.156 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/0.3465, allocations: 7.938 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.3466, allocations: 8 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.348, allocations: 1.324 MB / 1.288 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.403e-05/0.3481, allocations: 87.12 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.3481, allocations: 8.562 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.3482, allocations: 27.42 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3482, allocations: 0 / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.3768, allocations: 2.095 MB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.75, allocations: 4.562 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 18.57810770906508]