Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.554/1.554, allocations: 285.4 MB / 298 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 180.8 kB / 366.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.1 MB / 0.6248 GB, free: 7.734 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009735/0.0009735, allocations: 92.02 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.742e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6874/0.6875, allocations: 115.3 MB / 0.971 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.8722, allocations: 137.5 MB / 1.105 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/0.8726, allocations: 70.28 kB / 1.105 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003255/0.8759, allocations: 1.151 MB / 1.106 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.224e-06/0.876, allocations: 0 / 1.106 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.876, allocations: 4 kB / 1.106 GB, free: 13.08 MB / 0.7136 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.000419/0.8764, allocations: 369.5 kB / 1.107 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.8765, allocations: 12.03 kB / 1.107 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.8765, allocations: 35.47 kB / 1.107 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.8766, allocations: 15.81 kB / 1.107 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.8768, allocations: 179.7 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.8768, allocations: 8 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.8768, allocations: 5.938 kB / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.877, allocations: 100.5 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.877, allocations: 0 / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.8771, allocations: 8 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8771, allocations: 0.6875 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.8772, allocations: 39.94 kB / 1.107 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.8778, allocations: 455.5 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.538e-05/0.8778, allocations: 42.53 kB / 1.108 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.8779, allocations: 18.75 kB / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.8779, allocations: 0 / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.8779, allocations: 39.88 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.8779, allocations: 0 / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001596/0.8781, allocations: 53.45 kB / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.8782, allocations: 77.11 kB / 1.108 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.8783, allocations: 158.9 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.8783, allocations: 26.23 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.8784, allocations: 110.2 kB / 1.108 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.8784, allocations: 7.906 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.8784, allocations: 0 / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.8786, allocations: 318.8 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.8786, allocations: 8 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.822e-05/0.8786, allocations: 22.31 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.015e-05/0.8787, allocations: 13.22 kB / 1.108 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8787, allocations: 1.781 kB / 1.108 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.495e-05/0.8788, allocations: 61.64 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.8788, allocations: 8 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.8788, allocations: 0 / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8788, allocations: 7.766 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.8789, allocations: 4 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.8789, allocations: 10.05 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.879, allocations: 11.84 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.879, allocations: 4 kB / 1.109 GB, free: 10.67 MB / 0.7136 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 () * 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.174e-05/0.879, allocations: 106.4 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.8791, allocations: 15.84 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.8791, allocations: 12.56 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.8791, allocations: 1.875 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8791, allocations: 0 / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8792, allocations: 0 / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.8796, allocations: 484.8 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.8796, allocations: 0 / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.8796, allocations: 10.38 kB / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8796, allocations: 0 / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.8796, allocations: 4 kB / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8797, allocations: 0 / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8797, allocations: 0 / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.8798, allocations: 99.5 kB / 1.109 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.8798, allocations: 96.94 kB / 1.109 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.8799, allocations: 4 kB / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.8799, allocations: 1.594 kB / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.8799, allocations: 0 / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.8799, allocations: 0 / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.676e-05/0.88, allocations: 132 kB / 1.11 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/0.88, allocations: 0 / 1.11 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001862/0.8802, allocations: 8 kB / 1.11 GB, free: 9.613 MB / 0.7136 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 () * 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.0003987/0.8806, allocations: 0.6992 MB / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.622e-05/0.8807, allocations: 16 kB / 1.11 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8807, allocations: 0 / 1.11 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.468e-05/0.8807, allocations: 12.16 kB / 1.11 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.8808, allocations: 8 kB / 1.11 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.8812, allocations: 150.2 kB / 1.11 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.8814, allocations: 0.7009 MB / 1.111 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.8815, allocations: 12.55 kB / 1.111 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.8815, allocations: 19.44 kB / 1.111 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.8815, allocations: 0 / 1.111 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.8922, allocations: 1.568 MB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.8924, allocations: 173.6 kB / 1.113 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.423, allocations: 0 / 1.113 GB, free: 6.305 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)