Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001399/0.001399, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001481/0.001481, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.121/3.121, allocations: 0.5003 GB / 0.8026 GB, free: 6.984 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_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.002059/0.002059, allocations: 59.91 kB / 1.165 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.104, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002139/1.106, allocations: 0.8344 MB / 1.341 GB, free: 15.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/1.106, allocations: 45.05 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/1.106, allocations: 2.031 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/1.106, allocations: 9.984 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.302e-05/1.106, allocations: 13.09 kB / 1.341 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.769e-05/1.106, allocations: 19.88 kB / 1.341 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/1.106, allocations: 59.42 kB / 1.341 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/1.106, allocations: 36.02 kB / 1.341 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.591e-05/1.106, allocations: 30.98 kB / 1.341 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.769e-05/1.106, allocations: 30.48 kB / 1.341 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/1.106, allocations: 5.594 kB / 1.341 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/1.106, allocations: 10.69 kB / 1.341 GB, free: 15.56 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/1.107, allocations: 12.5 kB / 1.341 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/1.107, allocations: 37.06 kB / 1.341 GB, free: 15.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/1.107, allocations: 76.77 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.107, allocations: 0 / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.116e-06/1.107, allocations: 1.094 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.463e-06/1.107, allocations: 0 / 1.341 GB, free: 15.49 MB / 1.061 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.0004773/1.107, allocations: 380.3 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/1.107, allocations: 8.969 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.519e-05/1.107, allocations: 7.203 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/1.107, allocations: 42.91 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/1.107, allocations: 8.922 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/1.108, allocations: 197.1 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/1.108, allocations: 8.219 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/1.108, allocations: 5.719 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/1.108, allocations: 104.1 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.108, allocations: 0 / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/1.108, allocations: 9.125 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/1.108, allocations: 2.312 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.901e-05/1.108, allocations: 31.56 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/1.108, allocations: 438.3 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.689e-05/1.108, allocations: 41.05 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/1.108, allocations: 20.83 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/1.108, allocations: 4.969 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/1.108, allocations: 36.34 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/1.108, allocations: 0 / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002149/1.109, allocations: 53.39 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/1.109, allocations: 82.27 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/1.109, allocations: 159.5 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/1.109, allocations: 29.64 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/1.109, allocations: 107.7 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.427e-06/1.109, allocations: 5.938 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/1.109, allocations: 22.55 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/1.109, allocations: 315.1 kB / 1.343 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/1.109, allocations: 12.67 kB / 1.343 GB, free: 13.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-05/1.109, allocations: 20.02 kB / 1.343 GB, free: 13.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/1.109, allocations: 27.55 kB / 1.343 GB, free: 13.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.109, allocations: 0 / 1.343 GB, free: 13.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.006e-05/1.109, allocations: 53.05 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.109, allocations: 10.23 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.109, allocations: 5.156 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.109, allocations: 1.406 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/1.109, allocations: 13.55 kB / 1.343 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/1.109, allocations: 1.312 kB / 1.343 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/1.109, allocations: 10.44 kB / 1.343 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/1.109, allocations: 1.594 kB / 1.343 GB, free: 13.36 MB / 1.061 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 5.769e-05/1.109, allocations: 114.3 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/1.109, allocations: 11.73 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/1.11, allocations: 8.406 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.11, allocations: 6.203 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.11, allocations: 0 / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.11, allocations: 1.438 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/1.11, allocations: 474.1 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.11, allocations: 5.781 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/1.11, allocations: 2.469 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/1.11, allocations: 1.906 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/1.11, allocations: 4.062 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/1.11, allocations: 2.469 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.11, allocations: 3.984 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.34e-05/1.11, allocations: 84.48 kB / 1.344 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/1.11, allocations: 87.08 kB / 1.344 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/1.11, allocations: 2.578 kB / 1.344 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/1.11, allocations: 0 / 1.344 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/1.11, allocations: 6.469 kB / 1.344 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/1.11, allocations: 3.938 kB / 1.344 GB, free: 12.53 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.497e-05/1.11, allocations: 121.5 kB / 1.344 GB, free: 12.44 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.11, allocations: 0 / 1.344 GB, free: 12.44 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002513/1.11, allocations: 10.66 kB / 1.344 GB, free: 12.44 MB / 1.061 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.000313/1.111, allocations: 0.6155 MB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.666e-05/1.111, allocations: 15.16 kB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.111, allocations: 1.125 kB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/1.111, allocations: 10.97 kB / 1.345 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/1.111, allocations: 12.89 kB / 1.345 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/1.112, allocations: 1.327 MB / 1.346 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/1.112, allocations: 0.6934 MB / 1.347 GB, free: 9.891 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.556e-05/1.112, allocations: 6.484 kB / 1.347 GB, free: 9.891 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/1.112, allocations: 33.16 kB / 1.347 GB, free: 9.863 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.112, allocations: 0 / 1.347 GB, free: 9.863 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/1.132, allocations: 1.619 MB / 1.349 GB, free: 9.484 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/9.423, allocations: 19.2 kB / 1.349 GB, free: 9.473 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.36400165001396]