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.001229/0.001229, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001358/0.001358, allocations: 172.7 kB / 15.95 MB, free: 208 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.504/1.504, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.921/1.921, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005159/0.000516, allocations: 19.53 kB / 0.6738 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2662, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001083/0.2673, allocations: 0.5363 MB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001481/0.2675, allocations: 43.78 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.2676, allocations: 4 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.2676, allocations: 7.922 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.835e-05/0.2677, allocations: 3.938 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.139e-05/0.2678, allocations: 15.98 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2679, allocations: 63.78 kB / 0.7881 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.268, allocations: 33.56 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.2681, allocations: 23.86 kB / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.2682, allocations: 27.78 kB / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2682, allocations: 0 / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.2682, allocations: 4 kB / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.2682, allocations: 7.938 kB / 0.7882 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.2683, allocations: 33.7 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.294e-05/0.2683, allocations: 64.03 kB / 0.7882 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2684, allocations: 0 / 0.7882 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2684, allocations: 0 / 0.7882 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.2684, allocations: 0 / 0.7882 GB, free: 10.94 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.0004049/0.2688, allocations: 386.9 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2689, allocations: 8.031 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.2689, allocations: 38.56 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.2689, allocations: 7.906 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.2692, allocations: 202.8 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2692, allocations: 4 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.2692, allocations: 8 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.2694, allocations: 97.98 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.2694, allocations: 0 / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2694, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2694, allocations: 0 / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.314e-05/0.2695, allocations: 39.92 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.2701, allocations: 444.6 kB / 0.7894 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.605e-05/0.2702, allocations: 49.17 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.2702, allocations: 22.86 kB / 0.7895 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.2702, allocations: 3.938 kB / 0.7895 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2703, allocations: 30.56 kB / 0.7895 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.2703, allocations: 0 / 0.7895 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002059/0.2705, allocations: 61.55 kB / 0.7896 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.2706, allocations: 77.11 kB / 0.7897 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.2707, allocations: 171.3 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.2707, allocations: 25.7 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.2708, allocations: 111.9 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.2708, allocations: 8 kB / 0.79 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.2708, allocations: 0 / 0.79 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.271, allocations: 319.1 kB / 0.7903 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.271, allocations: 8 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.271, allocations: 21.72 kB / 0.7903 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.271, allocations: 8 kB / 0.7903 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2711, allocations: 0 / 0.7903 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.852e-05/0.2712, allocations: 73.39 kB / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2712, allocations: 4 kB / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2712, allocations: 64 / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2712, allocations: 4 kB / 0.7904 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.2713, allocations: 8 kB / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.2713, allocations: 0 / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.2713, allocations: 11.88 kB / 0.7904 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.2714, allocations: 0 / 0.7904 GB, free: 8.469 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 8.731e-05/0.2714, allocations: 118.5 kB / 0.7905 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.2715, allocations: 11.86 kB / 0.7905 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.2715, allocations: 12.66 kB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.2715, allocations: 7.984 kB / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2716, allocations: 0 / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2716, allocations: 0 / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.272, allocations: 490.6 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.272, allocations: 0 / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.272, allocations: 4 kB / 0.791 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.272, allocations: 0 / 0.791 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.272, allocations: 0 / 0.791 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.272, allocations: 8.062 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.272, allocations: 3.938 kB / 0.791 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.933e-05/0.2721, allocations: 85.78 kB / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.2722, allocations: 89.02 kB / 0.7912 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.2722, allocations: 7.984 kB / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.433e-05/0.2723, allocations: 4 kB / 0.7912 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.2723, allocations: 4.031 kB / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.2723, allocations: 0 / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001065/0.2724, allocations: 124 kB / 0.7913 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2724, allocations: 0 / 0.7913 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001986/0.2726, allocations: 12 kB / 0.7913 GB, free: 7.395 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.0003708/0.273, allocations: 0.6209 MB / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.915e-05/0.2731, allocations: 19.94 kB / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2731, allocations: 0 / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.2731, allocations: 4 kB / 0.792 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.2733, allocations: 11.94 kB / 0.792 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008693/0.2742, allocations: 0.5957 MB / 0.7926 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.2744, allocations: 0.7004 MB / 0.7932 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.869e-05/0.2745, allocations: 8.422 kB / 0.7933 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.2745, allocations: 23.44 kB / 0.7933 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2745, allocations: 0 / 0.7933 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.2862, allocations: 1.603 MB / 0.7948 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.2865, allocations: 199.4 kB / 0.795 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.202, allocations: 0 / 0.795 GB, free: 3.625 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: