Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001909/0.001909, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.002346/0.002346, allocations: 209.8 kB / 22.24 MB, free: 4.875 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.777 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.352/3.352, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 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_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_12_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.002159/0.002159, allocations: 66.86 kB / 1.153 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3716, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002093/0.3737, allocations: 0.8038 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001275/0.3739, allocations: 43.72 kB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.3739, allocations: 4 kB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.343e-05/0.374, allocations: 11.86 kB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.969e-05/0.374, allocations: 11.88 kB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.702e-05/0.3741, allocations: 15.98 kB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3742, allocations: 63.84 kB / 1.326 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3744, allocations: 31.97 kB / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.331e-05/0.3744, allocations: 23.88 kB / 1.326 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.3745, allocations: 35.77 kB / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3745, allocations: 4 kB / 1.326 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.3745, allocations: 8 kB / 1.326 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.3745, allocations: 11.94 kB / 1.326 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.3746, allocations: 27.86 kB / 1.326 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.3747, allocations: 83.8 kB / 1.326 GB, free: 1.172 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3747, allocations: 3.938 kB / 1.326 GB, free: 1.168 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3747, allocations: 0 / 1.326 GB, free: 1.168 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3747, allocations: 0 / 1.326 GB, free: 1.168 MB / 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.0004569/0.3752, allocations: 310 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3752, allocations: 8.031 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.3753, allocations: 38.75 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.3753, allocations: 12.88 kB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.3755, allocations: 130.4 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3755, allocations: 12.28 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3755, allocations: 8.312 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3757, allocations: 87.95 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3757, allocations: 3.938 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3757, allocations: 8 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3757, allocations: 0 / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.047e-05/0.3758, allocations: 39.92 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.3764, allocations: 391.9 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.833e-05/0.3765, allocations: 37.25 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.3765, allocations: 17.78 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.3765, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3765, allocations: 34.56 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3765, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002034/0.3767, allocations: 65.61 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.3768, allocations: 81.11 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.377, allocations: 161.2 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.377, allocations: 25.7 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.3771, allocations: 115.9 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.3771, allocations: 3.953 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.3771, allocations: 17.72 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3773, allocations: 322.8 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.3773, allocations: 4 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.3773, allocations: 21.66 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.3773, allocations: 25.88 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3774, allocations: 7.922 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.917e-05/0.3775, allocations: 61.59 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3775, allocations: 7.938 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3775, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3775, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.3776, allocations: 8 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3776, allocations: 3.984 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.951e-05/0.3776, allocations: 3.953 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.3776, allocations: 8.062 kB / 1.328 GB, free: 14.89 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 8.712e-05/0.3777, allocations: 118.3 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.3777, allocations: 11.89 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.3778, allocations: 11.81 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3778, allocations: 0 / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3778, allocations: 0 / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.3778, allocations: 4.078 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.3782, allocations: 437.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3782, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.3782, allocations: 8.062 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3782, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.3782, allocations: 4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3782, allocations: 3.938 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3782, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.708e-05/0.3783, allocations: 85.83 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.3783, allocations: 7.953 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.3783, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.3784, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.3784, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.3784, allocations: 4.031 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.743e-05/0.3785, allocations: 121.3 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3785, allocations: 4 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001907/0.3787, allocations: 8 kB / 1.329 GB, free: 13.98 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.0004163/0.3791, allocations: 0.6132 MB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.643e-05/0.3792, allocations: 19.92 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3792, allocations: 3.938 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.3792, allocations: 8.219 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.3793, allocations: 13.62 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.3807, allocations: 1.33 MB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.843e-05/0.3808, allocations: 83.12 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.3808, allocations: 8.422 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.3809, allocations: 23.44 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.3809, allocations: 4 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.4109, allocations: 2.094 MB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.66, allocations: 5.547 kB / 1.333 GB, free: 9.762 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.617799530737102]