Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.0008128/0.0008127, allocations: 100.9 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.0008203/0.0008203, 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.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.477 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.873/1.873, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0005113/0.0005113, allocations: 17.2 kB / 0.6737 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2648, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001216/0.2661, allocations: 0.5403 MB / 0.7878 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001273/0.2662, allocations: 39.8 kB / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.2663, allocations: 0 / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.2663, allocations: 7.922 kB / 0.7878 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.698e-05/0.2664, allocations: 19.86 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.306e-05/0.2665, allocations: 11.98 kB / 0.7878 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.49e-05/0.2666, allocations: 39.91 kB / 0.7879 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2667, allocations: 37.56 kB / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.526e-05/0.2668, allocations: 19.8 kB / 0.7879 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.2668, allocations: 19.86 kB / 0.788 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2668, allocations: 4 kB / 0.788 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.2669, allocations: 0 / 0.788 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.2669, allocations: 15.92 kB / 0.788 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.2669, allocations: 41.64 kB / 0.788 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.432e-05/0.267, allocations: 60.08 kB / 0.7881 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.267, allocations: 0 / 0.7881 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.267, allocations: 0 / 0.7881 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.267, allocations: 0 / 0.7881 GB, free: 11.03 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.0003994/0.2674, allocations: 375 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2675, allocations: 12.03 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.2675, allocations: 38.55 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.2676, allocations: 11.91 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.2678, allocations: 198.8 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.2678, allocations: 4 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2678, allocations: 8 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.268, allocations: 91.38 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.268, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.268, allocations: 4 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.268, allocations: 4 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.46e-05/0.2681, allocations: 39.92 kB / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.2686, allocations: 444.5 kB / 0.7892 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.563e-05/0.2687, allocations: 45.23 kB / 0.7893 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.2687, allocations: 4 kB / 0.7893 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2687, allocations: 34.69 kB / 0.7893 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2688, allocations: 0 / 0.7893 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001752/0.2689, allocations: 57.53 kB / 0.7894 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.269, allocations: 81.11 kB / 0.7895 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.2692, allocations: 163.3 kB / 0.7896 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2692, allocations: 29.95 kB / 0.7896 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.2693, allocations: 116.9 kB / 0.7897 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-06/0.2693, allocations: 4 kB / 0.7898 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.2693, allocations: 0 / 0.7898 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2694, allocations: 322.8 kB / 0.7901 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.2694, allocations: 11.88 kB / 0.7901 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.676e-05/0.2695, allocations: 25.64 kB / 0.7901 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.2695, allocations: 12 kB / 0.7901 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2695, allocations: 0 / 0.7901 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.93e-05/0.2696, allocations: 65.47 kB / 0.7902 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2696, allocations: 6.812 kB / 0.7902 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2697, allocations: 8 kB / 0.7902 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2697, allocations: 0 / 0.7902 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.2698, allocations: 11.92 kB / 0.7902 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2698, allocations: 0 / 0.7902 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.2698, allocations: 4 kB / 0.7902 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.2698, allocations: 0 / 0.7902 GB, free: 8.59 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.687e-05/0.2699, allocations: 117.9 kB / 0.7903 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.27, allocations: 11.86 kB / 0.7903 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.27, allocations: 12.56 kB / 0.7903 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.27, allocations: 3.984 kB / 0.7903 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.27, allocations: 4 kB / 0.7903 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.27, allocations: 0 / 0.7903 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.2704, allocations: 490.6 kB / 0.7908 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2704, allocations: 0 / 0.7908 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.2704, allocations: 0 / 0.7908 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2704, allocations: 4 kB / 0.7908 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.2705, allocations: 0 / 0.7908 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2705, allocations: 3.984 kB / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2705, allocations: 0 / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.359e-05/0.2706, allocations: 99.67 kB / 0.7909 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.2706, allocations: 96.98 kB / 0.791 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2707, allocations: 0 / 0.791 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.2707, allocations: 0 / 0.791 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.2707, allocations: 0 / 0.791 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.2707, allocations: 4 kB / 0.791 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.516e-05/0.2708, allocations: 124 kB / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2708, allocations: 0 / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001822/0.271, allocations: 12.03 kB / 0.7911 GB, free: 7.508 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.0003709/0.2714, allocations: 0.6991 MB / 0.7918 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.773e-05/0.2715, allocations: 24.02 kB / 0.7918 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2715, allocations: 3.938 kB / 0.7918 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.389e-05/0.2715, allocations: 11.94 kB / 0.7919 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.2716, allocations: 8 kB / 0.7919 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.2725, allocations: 0.7379 MB / 0.7926 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.2728, allocations: 0.7004 MB / 0.7933 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.2728, allocations: 8.422 kB / 0.7933 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.2728, allocations: 23.44 kB / 0.7933 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2728, allocations: 0 / 0.7933 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.2835, allocations: 1.573 MB / 0.7948 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/0.2838, allocations: 185.4 kB / 0.795 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.343, allocations: 0 / 0.795 GB, free: 3.504 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) Environment - environmentSimulation: