Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001296/0.001296, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001531/0.001531, allocations: 215.7 kB / 22.25 MB, free: 5.105 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.836 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.332/3.332, allocations: 0.49 GB / 0.7951 GB, free: 35.5 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.From_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002019/0.002019, allocations: 67.5 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4165, allocations: 176.1 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002252/0.4188, allocations: 0.7861 MB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.4189, allocations: 43.78 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.419, allocations: 4 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.324e-05/0.419, allocations: 7.875 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/0.4191, allocations: 7.938 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.689e-05/0.4192, allocations: 19.97 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.4193, allocations: 63.78 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.4194, allocations: 31.98 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.442e-05/0.4195, allocations: 27.86 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.4196, allocations: 31.78 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.4196, allocations: 15.94 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.4196, allocations: 4 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.4196, allocations: 19.92 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.4197, allocations: 23.81 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.4198, allocations: 79.84 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.4198, allocations: 0 / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4198, allocations: 4 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.4198, allocations: 0 / 1.327 GB, free: 388 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.0004806/0.4203, allocations: 302 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4203, allocations: 8.031 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.858e-05/0.4204, allocations: 46.73 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.4204, allocations: 8.891 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.4206, allocations: 134.4 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.4207, allocations: 8.281 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.4207, allocations: 12.38 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.4208, allocations: 87.89 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4208, allocations: 3.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4209, allocations: 4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.4209, allocations: 7.984 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.738e-05/0.421, allocations: 43.91 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.4215, allocations: 391.8 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.36e-05/0.4216, allocations: 41.41 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.4216, allocations: 21.7 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.4216, allocations: 0 / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.4216, allocations: 34.56 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4217, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000169/0.4218, allocations: 53.53 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.4219, allocations: 81.05 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.422, allocations: 168.7 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4221, allocations: 25.7 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.4221, allocations: 112 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.648e-06/0.4222, allocations: 7.953 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.4222, allocations: 13.72 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4223, allocations: 318.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.4224, allocations: 8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.4224, allocations: 21.7 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.4224, allocations: 25.72 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4224, allocations: 4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.098e-05/0.4225, allocations: 53.59 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4225, allocations: 17.95 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4225, allocations: 3.938 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4226, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.732e-05/0.4226, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4226, allocations: 7.984 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.4227, allocations: 3.953 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.4227, allocations: 4 kB / 1.329 GB, free: 14.1 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 9.701e-05/0.4228, allocations: 126.3 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.4228, allocations: 11.89 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.4228, allocations: 11.8 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4228, allocations: 0 / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4228, allocations: 7.938 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4228, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.4233, allocations: 433.9 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4233, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.4233, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4233, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.4233, allocations: 4.062 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4233, allocations: 4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4233, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.919e-05/0.4234, allocations: 85.83 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.4234, allocations: 7.953 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.4235, allocations: 3.984 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.681e-05/0.4235, allocations: 11.94 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.4235, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.4235, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001122/0.4236, allocations: 121.3 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4236, allocations: 32 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002014/0.4238, allocations: 12 kB / 1.33 GB, free: 13.18 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.0004466/0.4243, allocations: 0.6093 MB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.596e-05/0.4243, allocations: 19.94 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4244, allocations: 0 / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-05/0.4244, allocations: 4 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.4245, allocations: 8 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.4259, allocations: 1.334 MB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.036e-05/0.4259, allocations: 87.11 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.426, allocations: 4.438 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.426, allocations: 27.42 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.426, allocations: 3.938 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.4551, allocations: 2.127 MB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.52, allocations: 3.938 kB / 1.334 GB, free: 8.941 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.566070241999114]