Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008728/0.0008729, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009195/0.0009196, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009517/0.0009518, allocations: 12.06 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2341, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.0008766/0.235, allocations: 0.5364 MB / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001029/0.2351, allocations: 43.78 kB / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.2352, allocations: 4 kB / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.2352, allocations: 7.922 kB / 0.7878 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.2353, allocations: 11.92 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.663e-05/0.2353, allocations: 19.98 kB / 0.7878 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.894e-05/0.2354, allocations: 35.91 kB / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2355, allocations: 33.56 kB / 0.7879 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.2356, allocations: 15.86 kB / 0.7879 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.2356, allocations: 27.8 kB / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2357, allocations: 0 / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-06/0.2357, allocations: 4 kB / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.2357, allocations: 15.92 kB / 0.788 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.2357, allocations: 37.64 kB / 0.788 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.827e-05/0.2358, allocations: 64.02 kB / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.2358, allocations: 0 / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2358, allocations: 0 / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2358, allocations: 0 / 0.7881 GB, free: 10.98 MB / 0.6075 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.000338/0.2362, allocations: 379 kB / 0.7884 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2362, allocations: 8.031 kB / 0.7884 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.2363, allocations: 42.55 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.2363, allocations: 11.91 kB / 0.7885 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.2365, allocations: 194.8 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2365, allocations: 8 kB / 0.7887 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2365, allocations: 11.98 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.2366, allocations: 88.58 kB / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.2367, allocations: 0 / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2367, allocations: 4 kB / 0.7888 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2367, allocations: 4 kB / 0.7888 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.16e-05/0.2368, allocations: 43.92 kB / 0.7888 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.2372, allocations: 444.6 kB / 0.7893 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.2373, allocations: 41.14 kB / 0.7893 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.2373, allocations: 8.125 kB / 0.7893 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.2373, allocations: 34.56 kB / 0.7893 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2373, allocations: 0 / 0.7893 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001534/0.2375, allocations: 57.53 kB / 0.7894 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2376, allocations: 77.11 kB / 0.7895 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2377, allocations: 171.3 kB / 0.7896 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.2377, allocations: 25.95 kB / 0.7896 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.2378, allocations: 115.9 kB / 0.7898 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/0.2378, allocations: 0 / 0.7898 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.2378, allocations: 4 kB / 0.7898 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.2379, allocations: 318.8 kB / 0.7901 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.2379, allocations: 11.94 kB / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.2379, allocations: 13.72 kB / 0.7901 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.666e-05/0.238, allocations: 23.92 kB / 0.7901 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.238, allocations: 0 / 0.7901 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.673e-05/0.2381, allocations: 61.47 kB / 0.7902 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2381, allocations: 8 kB / 0.7902 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2381, allocations: 0 / 0.7902 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2381, allocations: 0 / 0.7902 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.2382, allocations: 15.92 kB / 0.7902 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2382, allocations: 0 / 0.7902 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.2382, allocations: 0 / 0.7902 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2382, allocations: 7.938 kB / 0.7902 GB, free: 8.539 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.2383, allocations: 117.9 kB / 0.7903 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.2383, allocations: 11.86 kB / 0.7903 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.2384, allocations: 12.56 kB / 0.7903 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2384, allocations: 3.984 kB / 0.7903 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2384, allocations: 0 / 0.7903 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2384, allocations: 0 / 0.7903 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.2387, allocations: 494.6 kB / 0.7908 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2388, allocations: 4 kB / 0.7908 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.2388, allocations: 4 kB / 0.7908 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2388, allocations: 0 / 0.7908 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.2388, allocations: 0 / 0.7908 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2388, allocations: 3.984 kB / 0.7908 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2388, allocations: 4 kB / 0.7908 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.344e-05/0.2389, allocations: 95.58 kB / 0.7909 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.239, allocations: 89 kB / 0.791 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.239, allocations: 0 / 0.791 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.239, allocations: 0 / 0.791 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.239, allocations: 4 kB / 0.791 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.239, allocations: 0 / 0.791 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.795e-05/0.2391, allocations: 124 kB / 0.7911 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2391, allocations: 0 / 0.7911 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001753/0.2393, allocations: 12.03 kB / 0.7911 GB, free: 7.461 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003114/0.2396, allocations: 0.703 MB / 0.7918 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.26e-05/0.2397, allocations: 24.02 kB / 0.7918 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.2397, allocations: 7.938 kB / 0.7919 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.216e-05/0.2397, allocations: 7.938 kB / 0.7919 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.2398, allocations: 4 kB / 0.7919 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007307/0.2406, allocations: 0.7311 MB / 0.7926 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.2408, allocations: 0.7043 MB / 0.7933 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.2408, allocations: 12.5 kB / 0.7933 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.2409, allocations: 23.44 kB / 0.7933 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2409, allocations: 0 / 0.7933 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.2629, allocations: 1.576 MB / 0.7948 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.2632, allocations: 198 kB / 0.795 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.117, allocations: 4 kB / 0.795 GB, free: 3.465 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) Environment - environmentSimulation: