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.001267/0.001267, allocations: 117.1 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.001798/0.001798, allocations: 215 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.555/1.555, 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 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.041/3.041, allocations: 0.49 GB / 0.7923 GB, free: 1.297 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_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.002256/0.002256, allocations: 67.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125/1.128, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002955/1.131, allocations: 0.8331 MB / 1.322 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001565/1.131, allocations: 46.53 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/1.131, allocations: 0 / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.009e-05/1.131, allocations: 10.55 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/1.131, allocations: 14.12 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.486e-05/1.131, allocations: 16.84 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/1.131, allocations: 61.11 kB / 1.322 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/1.131, allocations: 30.27 kB / 1.322 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/1.132, allocations: 24.69 kB / 1.322 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/1.132, allocations: 32.14 kB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/1.132, allocations: 9.438 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/1.132, allocations: 5.469 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/1.132, allocations: 18.2 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/1.132, allocations: 43.77 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/1.132, allocations: 70.42 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/1.132, allocations: 0 / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.767e-06/1.132, allocations: 0 / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.132, allocations: 0 / 1.323 GB, free: 23.98 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.0005765/1.133, allocations: 379.2 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/1.133, allocations: 15.36 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.113e-05/1.133, allocations: 7.219 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/1.133, allocations: 38.08 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/1.133, allocations: 14.86 kB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/1.133, allocations: 202 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/1.133, allocations: 3.312 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/1.133, allocations: 7.219 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/1.133, allocations: 96.45 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/1.133, allocations: 7.375 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/1.133, allocations: 6.906 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/1.133, allocations: 0 / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/1.133, allocations: 35.83 kB / 1.323 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/1.134, allocations: 434.3 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.31e-05/1.134, allocations: 44.19 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/1.134, allocations: 15.03 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/1.134, allocations: 6.641 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/1.134, allocations: 46.53 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/1.134, allocations: 3.938 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001992/1.134, allocations: 63.58 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/1.134, allocations: 77.11 kB / 1.324 GB, free: 22.53 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/1.135, allocations: 158.5 kB / 1.324 GB, free: 22.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/1.135, allocations: 29.7 kB / 1.324 GB, free: 22.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/1.135, allocations: 100.9 kB / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.255e-06/1.135, allocations: 3.953 kB / 1.324 GB, free: 22.28 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/1.135, allocations: 19.22 kB / 1.324 GB, free: 22.26 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.862e-05/1.135, allocations: 318.1 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/1.135, allocations: 9.469 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/1.135, allocations: 19.58 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.684e-05/1.135, allocations: 28.22 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.135, allocations: 0 / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.427e-05/1.135, allocations: 58.69 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.135, allocations: 10.88 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.135, allocations: 2.781 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/1.135, allocations: 0 / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/1.135, allocations: 16.38 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.135, allocations: 0 / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/1.135, allocations: 10.52 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/1.135, allocations: 2.125 kB / 1.325 GB, free: 21.83 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 6.936e-05/1.135, allocations: 112.4 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/1.135, allocations: 13.42 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/1.135, allocations: 17.69 kB / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.135, allocations: 0 / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.135, allocations: 2.875 kB / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.135, allocations: 0 / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/1.135, allocations: 465.4 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.135, allocations: 2.656 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/1.135, allocations: 2.906 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.135, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/1.135, allocations: 4.062 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.135, allocations: 2.562 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.135, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.955e-05/1.136, allocations: 88.11 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/1.136, allocations: 94.27 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/1.136, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/1.136, allocations: 4.031 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/1.136, allocations: 3.156 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/1.136, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001059/1.136, allocations: 123.5 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.136, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001843/1.136, allocations: 7.531 kB / 1.326 GB, free: 20.92 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.0003406/1.136, allocations: 0.6229 MB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001198/1.136, allocations: 12.56 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.136, allocations: 0 / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/1.136, allocations: 9.5 kB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/1.137, allocations: 8.594 kB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/1.138, allocations: 1.33 MB / 1.328 GB, free: 19.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/1.138, allocations: 0.6929 MB / 1.328 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.582e-05/1.138, allocations: 10.16 kB / 1.328 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/1.138, allocations: 25.77 kB / 1.328 GB, free: 18.35 MB / 1.061 GB Notification: Performance of SimCode: time 7.72e-07/1.138, allocations: 4 kB / 1.328 GB, free: 18.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/1.157, allocations: 1.622 MB / 1.33 GB, free: 17.94 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.513/9.67, allocations: 14.17 kB / 1.33 GB, free: 17.93 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.543134647014085]