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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 107.5 kB / 16.29 MB, free: 6.43 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.001195/0.001195, allocations: 184.5 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.015/2.015, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001737/0.001737, allocations: 67.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3019, allocations: 114.5 MB / 0.7841 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002345/0.3043, allocations: 0.8524 MB / 0.7849 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001242/0.3045, allocations: 43.78 kB / 0.7849 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.3045, allocations: 0 / 0.7849 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.228e-05/0.3046, allocations: 7.875 kB / 0.785 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.3047, allocations: 15.88 kB / 0.785 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.008e-05/0.3047, allocations: 19.97 kB / 0.785 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.3049, allocations: 67.78 kB / 0.7851 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.3051, allocations: 45.31 kB / 0.7851 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.016e-05/0.3051, allocations: 27.88 kB / 0.7851 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.3052, allocations: 35.77 kB / 0.7852 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.3052, allocations: 8 kB / 0.7852 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.3052, allocations: 8 kB / 0.7852 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.3053, allocations: 15.92 kB / 0.7852 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.3053, allocations: 39.69 kB / 0.7852 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.3055, allocations: 83.91 kB / 0.7853 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3055, allocations: 0 / 0.7853 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.04e-06/0.3055, allocations: 0 / 0.7853 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3055, allocations: 3.938 kB / 0.7853 GB, free: 2.598 MB / 0.6544 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.0004945/0.306, allocations: 391.1 kB / 0.7857 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.306, allocations: 8.031 kB / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.3061, allocations: 16.75 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.3063, allocations: 196.1 kB / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3063, allocations: 8.375 kB / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.3064, allocations: 8.375 kB / 0.7859 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3065, allocations: 90.45 kB / 0.786 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3066, allocations: 4.188 kB / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.3066, allocations: 7.938 kB / 0.786 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3066, allocations: 4 kB / 0.786 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.856e-05/0.3067, allocations: 39.92 kB / 0.786 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.3073, allocations: 444.5 kB / 0.7865 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.067e-05/0.3074, allocations: 41.28 kB / 0.7865 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.3075, allocations: 21.83 kB / 0.7865 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.3075, allocations: 0 / 0.7865 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3075, allocations: 34.56 kB / 0.7866 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3075, allocations: 0 / 0.7866 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002031/0.3077, allocations: 65.7 kB / 0.7866 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.3078, allocations: 81.05 kB / 0.7867 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.308, allocations: 169.5 kB / 0.7869 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.308, allocations: 25.7 kB / 0.7869 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.3081, allocations: 111.9 kB / 0.787 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.3081, allocations: 3.906 kB / 0.787 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.3081, allocations: 17.72 kB / 0.787 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3083, allocations: 322.8 kB / 0.7873 GB, free: 292 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.3083, allocations: 12.03 kB / 0.7873 GB, free: 280 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.3083, allocations: 17.72 kB / 0.7874 GB, free: 256 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.3084, allocations: 29.7 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3084, allocations: 0 / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.457e-05/0.3085, allocations: 65.48 kB / 0.7874 GB, free: 148 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3085, allocations: 4 kB / 0.7875 GB, free: 144 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3085, allocations: 8 kB / 0.7875 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3085, allocations: 0 / 0.7875 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.74e-05/0.3086, allocations: 15.98 kB / 0.7875 GB, free: 120 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3087, allocations: 3.938 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/0.3087, allocations: 0 / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3087, allocations: 4 kB / 0.7875 GB, free: 112 kB / 0.6544 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 0.5095/0.8182, allocations: 111.8 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.618e-05/0.8183, allocations: 9.5 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.8183, allocations: 15.59 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.8183, allocations: 0.7188 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.8183, allocations: 5.266 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8184, allocations: 1.219 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.8189, allocations: 487.1 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8189, allocations: 0 / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.8189, allocations: 5.875 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.8189, allocations: 1.406 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.8189, allocations: 2.719 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.819, allocations: 0 / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.819, allocations: 0 / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.832e-05/0.8191, allocations: 88.09 kB / 0.7882 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.8191, allocations: 90.23 kB / 0.7883 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.8191, allocations: 3.047 kB / 0.7883 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.627e-05/0.8192, allocations: 2.688 kB / 0.7883 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.8192, allocations: 0 / 0.7883 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.8192, allocations: 0 / 0.7883 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.036e-05/0.8193, allocations: 128.2 kB / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8193, allocations: 1 kB / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00023/0.8195, allocations: 8.781 kB / 0.7884 GB, free: 48.09 MB / 0.6544 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.0001326/0.8197, allocations: 105.2 kB / 0.7885 GB, free: 48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.8198, allocations: 22.64 kB / 0.7885 GB, free: 48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.8198, allocations: 3.781 kB / 0.7885 GB, free: 48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.8198, allocations: 10.25 kB / 0.7885 GB, free: 48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.82, allocations: 6.688 kB / 0.7885 GB, free: 48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.8203, allocations: 169.6 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.8205, allocations: 0.6986 MB / 0.7894 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.203e-05/0.8205, allocations: 8 kB / 0.7894 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.8205, allocations: 10.31 kB / 0.7894 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of SimCode: time 1.353e-06/0.8206, allocations: 0 / 0.7894 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.002706/0.8233, allocations: 488.1 kB / 0.7899 GB, free: 47.17 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)