Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.To_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002761/0.002761, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.76/1.76, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.659/1.659, allocations: 251.7 MB / 0.5092 GB, free: 3.098 MB / 414.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.00151/0.00151, allocations: 75.89 kB / 0.6223 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.727, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.003079/0.7302, allocations: 0.8665 MB / 0.7254 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001743/0.7304, allocations: 47.77 kB / 0.7254 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.781e-05/0.7305, allocations: 0 / 0.7254 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.054e-05/0.7305, allocations: 7.875 kB / 0.7254 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.7307, allocations: 15.86 kB / 0.7254 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 7.269e-05/0.7308, allocations: 23.97 kB / 0.7255 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.7309, allocations: 67.78 kB / 0.7255 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.7311, allocations: 41.39 kB / 0.7256 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.942e-05/0.7312, allocations: 27.86 kB / 0.7256 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.7313, allocations: 27.8 kB / 0.7256 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.7313, allocations: 8 kB / 0.7256 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.69e-05/0.7314, allocations: 8 kB / 0.7256 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.7314, allocations: 19.92 kB / 0.7256 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.7315, allocations: 43.73 kB / 0.7257 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.7316, allocations: 77.66 kB / 0.7258 GB, free: 11.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.7317, allocations: 4 kB / 0.7258 GB, free: 11.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7317, allocations: 0 / 0.7258 GB, free: 11.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.7317, allocations: 0 / 0.7258 GB, free: 11.66 MB / 0.545 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.0005368/0.7322, allocations: 391 kB / 0.7261 GB, free: 11.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.7323, allocations: 12.02 kB / 0.7262 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.7323, allocations: 12.84 kB / 0.7262 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.7325, allocations: 200.1 kB / 0.7264 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.7326, allocations: 8.281 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.7326, allocations: 8.375 kB / 0.7264 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.7328, allocations: 101.9 kB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7328, allocations: 192 / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.7328, allocations: 3.938 kB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.7328, allocations: 0 / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.7329, allocations: 43.98 kB / 0.7265 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.7336, allocations: 444.5 kB / 0.7269 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.7337, allocations: 41.22 kB / 0.727 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.7337, allocations: 17.78 kB / 0.727 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.7337, allocations: 4.031 kB / 0.727 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.7337, allocations: 38.5 kB / 0.727 GB, free: 10.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7338, allocations: 0 / 0.727 GB, free: 10.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001984/0.734, allocations: 61.47 kB / 0.7271 GB, free: 10.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.734, allocations: 77.36 kB / 0.7272 GB, free: 10.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.7342, allocations: 169.5 kB / 0.7273 GB, free: 9.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.7342, allocations: 33.7 kB / 0.7274 GB, free: 9.801 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.7343, allocations: 100 kB / 0.7275 GB, free: 9.699 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.7343, allocations: 7.906 kB / 0.7275 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.7344, allocations: 13.72 kB / 0.7275 GB, free: 9.672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7345, allocations: 322.8 kB / 0.7278 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.7346, allocations: 8 kB / 0.7278 GB, free: 9.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.7346, allocations: 29.7 kB / 0.7278 GB, free: 9.305 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.762e-05/0.7346, allocations: 25.66 kB / 0.7278 GB, free: 9.273 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7346, allocations: 3.938 kB / 0.7278 GB, free: 9.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.681e-05/0.7347, allocations: 57.61 kB / 0.7279 GB, free: 9.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.7348, allocations: 11.98 kB / 0.7279 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.7348, allocations: 3.938 kB / 0.7279 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.7348, allocations: 64 / 0.7279 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.7349, allocations: 11.94 kB / 0.7279 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.7349, allocations: 0 / 0.7279 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.7349, allocations: 11.84 kB / 0.7279 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.7349, allocations: 0 / 0.7279 GB, free: 9.168 MB / 0.545 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.892e-05/0.735, allocations: 113.8 kB / 0.7281 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.7351, allocations: 11.98 kB / 0.7281 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.7351, allocations: 20.48 kB / 0.7281 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.7351, allocations: 4 kB / 0.7281 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.7351, allocations: 0 / 0.7281 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7352, allocations: 4 kB / 0.7281 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.7356, allocations: 482.7 kB / 0.7285 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7356, allocations: 3.984 kB / 0.7286 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.7356, allocations: 4 kB / 0.7286 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7357, allocations: 0 / 0.7286 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.7357, allocations: 0 / 0.7286 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7357, allocations: 0 / 0.7286 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7357, allocations: 4.062 kB / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.7358, allocations: 81.78 kB / 0.7286 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.7359, allocations: 93 kB / 0.7287 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.7359, allocations: 0 / 0.7287 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.7359, allocations: 0 / 0.7287 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.7359, allocations: 0 / 0.7287 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.7359, allocations: 8.031 kB / 0.7287 GB, free: 8.246 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000116/0.7361, allocations: 132.9 kB / 0.7289 GB, free: 8.117 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7361, allocations: 3.938 kB / 0.7289 GB, free: 8.113 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001888/0.7363, allocations: 8 kB / 0.7289 GB, free: 8.105 MB / 0.545 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.0001474/0.7364, allocations: 99.25 kB / 0.729 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.653e-05/0.7365, allocations: 19.94 kB / 0.729 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7365, allocations: 0 / 0.729 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.7365, allocations: 12.12 kB / 0.729 GB, free: 7.965 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.7367, allocations: 15.92 kB / 0.729 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.7371, allocations: 178.1 kB / 0.7292 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.7374, allocations: 0.704 MB / 0.7299 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.285e-05/0.7375, allocations: 8.422 kB / 0.7299 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.7375, allocations: 11.44 kB / 0.7299 GB, free: 6.996 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.7375, allocations: 0 / 0.7299 GB, free: 6.996 MB / 0.545 GB Notification: Performance of Templates: time 0.002816/0.7403, allocations: 476.3 kB / 0.7303 GB, free: 6.531 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)