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.001005/0.001005, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.00858/0.00858, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.757/1.757, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.966/1.966, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006078/0.0006078, allocations: 15.12 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3324, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001182/0.3336, allocations: 0.5632 MB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000134/0.3338, allocations: 47.78 kB / 0.7885 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.3338, allocations: 0 / 0.7885 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.3339, allocations: 3.938 kB / 0.7885 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.724e-05/0.334, allocations: 7.922 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.565e-05/0.334, allocations: 16 kB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3341, allocations: 63.78 kB / 0.7886 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.3343, allocations: 37.39 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.3344, allocations: 23.86 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.3344, allocations: 19.8 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3345, allocations: 4 kB / 0.7887 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.3345, allocations: 0 / 0.7887 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.3345, allocations: 15.88 kB / 0.7887 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.3346, allocations: 61.42 kB / 0.7887 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.3347, allocations: 71.91 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3347, allocations: 4 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3347, allocations: 0 / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3347, allocations: 0 / 0.7888 GB, free: 10.66 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.0004508/0.3352, allocations: 371.2 kB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3352, allocations: 12.02 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.3353, allocations: 12.84 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.3355, allocations: 195.3 kB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3355, allocations: 4.375 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.3355, allocations: 12.38 kB / 0.7894 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3357, allocations: 99.78 kB / 0.7895 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3357, allocations: 192 / 0.7895 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3357, allocations: 7.938 kB / 0.7895 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3358, allocations: 4 kB / 0.7895 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.81e-05/0.3359, allocations: 39.92 kB / 0.7895 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.3364, allocations: 444.6 kB / 0.7899 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.3365, allocations: 42.25 kB / 0.79 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.3365, allocations: 21.78 kB / 0.79 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.3365, allocations: 0 / 0.79 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.3366, allocations: 46.5 kB / 0.7901 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.3366, allocations: 0 / 0.7901 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001912/0.3368, allocations: 65.47 kB / 0.7901 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.3368, allocations: 77.11 kB / 0.7902 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.337, allocations: 167.3 kB / 0.7903 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.337, allocations: 25.7 kB / 0.7904 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.3371, allocations: 112.2 kB / 0.7905 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.3371, allocations: 7.906 kB / 0.7905 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.3371, allocations: 13.72 kB / 0.7905 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3373, allocations: 322.8 kB / 0.7908 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.3373, allocations: 4 kB / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.3373, allocations: 25.69 kB / 0.7908 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.3374, allocations: 33.66 kB / 0.7909 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3374, allocations: 0 / 0.7909 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.14e-05/0.3375, allocations: 57.55 kB / 0.7909 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3375, allocations: 7.984 kB / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3375, allocations: 7.938 kB / 0.7909 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3375, allocations: 0 / 0.7909 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.209e-05/0.3376, allocations: 8 kB / 0.7909 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3376, allocations: 0 / 0.7909 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/0.3377, allocations: 7.906 kB / 0.791 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.3377, allocations: 0 / 0.791 GB, free: 8.188 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.33e-05/0.3378, allocations: 118.6 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.3378, allocations: 7.906 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.3379, allocations: 20.48 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3379, allocations: 0 / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3379, allocations: 4 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3379, allocations: 0 / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.3383, allocations: 486.7 kB / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3383, allocations: 0 / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.3383, allocations: 3.984 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3383, allocations: 4 kB / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3383, allocations: 0 / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3383, allocations: 0 / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.3383, allocations: 3.938 kB / 0.7916 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.723e-05/0.3384, allocations: 93.75 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.3385, allocations: 89 kB / 0.7917 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3385, allocations: 0 / 0.7917 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.312e-05/0.3385, allocations: 0 / 0.7917 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.3386, allocations: 0 / 0.7917 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3386, allocations: 7.938 kB / 0.7918 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.449e-05/0.3387, allocations: 127.9 kB / 0.7919 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3387, allocations: 0 / 0.7919 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001778/0.3388, allocations: 8 kB / 0.7919 GB, free: 7.121 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 (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.0001231/0.339, allocations: 103.3 kB / 0.792 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.009e-05/0.3391, allocations: 23.94 kB / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3391, allocations: 0 / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.3391, allocations: 4 kB / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.3393, allocations: 11.94 kB / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.3396, allocations: 196.5 kB / 0.7922 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3399, allocations: 0.6965 MB / 0.7929 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.3399, allocations: 8.438 kB / 0.7929 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.3399, allocations: 11.44 kB / 0.7929 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.34, allocations: 0 / 0.7929 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of Templates: time 0.002479/0.3424, allocations: 456.5 kB / 0.7933 GB, free: 5.562 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) Environment - environmentSimulation: