Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009525/0.0009526, allocations: 182.9 kB / 327.6 MB, free: 2.152 MB / 250.7 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 / 0.5785 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008301/0.0008299, allocations: 90.58 kB / 0.6831 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004324, allocations: 17.97 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2058, allocations: 106.3 MB / 0.9012 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.3568, allocations: 131.5 MB / 1.03 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.3571, allocations: 87.86 kB / 1.03 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001818/0.359, allocations: 0.6736 MB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.913e-06/0.359, allocations: 3.938 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.359, allocations: 4 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000357/0.3594, allocations: 340.2 kB / 1.031 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3594, allocations: 8.031 kB / 1.031 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.3595, allocations: 4.938 kB / 1.031 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.3596, allocations: 164.3 kB / 1.031 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3596, allocations: 384 / 1.031 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.3596, allocations: 384 / 1.031 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3598, allocations: 62.23 kB / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.3598, allocations: 192 / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3598, allocations: 3.938 kB / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3598, allocations: 0 / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.36, allocations: 55.88 kB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.3603, allocations: 248.8 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3604, allocations: 46.53 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.3606, allocations: 32.91 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3606, allocations: 0 / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3606, allocations: 30.56 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3606, allocations: 0 / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003429/0.361, allocations: 105.6 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.361, allocations: 51.41 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.3611, allocations: 101.8 kB / 1.032 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3611, allocations: 25.7 kB / 1.032 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.3612, allocations: 84.27 kB / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.3612, allocations: 7.906 kB / 1.032 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.3612, allocations: 0 / 1.032 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3613, allocations: 314.8 kB / 1.032 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.32e-05/0.3614, allocations: 15.98 kB / 1.032 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.3615, allocations: 31.97 kB / 1.032 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3617, allocations: 44.83 kB / 1.032 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3617, allocations: 3.938 kB / 1.032 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001859/0.3619, allocations: 81.66 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3619, allocations: 8 kB / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3619, allocations: 0 / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3619, allocations: 0 / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.362, allocations: 15.95 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.362, allocations: 4 kB / 1.032 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.3621, allocations: 8 kB / 1.032 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.3621, allocations: 0 / 1.032 GB, free: 9.527 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 6.876e-05/0.3622, allocations: 117.8 kB / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.3622, allocations: 7.938 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.3624, allocations: 80.72 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3624, allocations: 4 kB / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3624, allocations: 0 / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3624, allocations: 0 / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3626, allocations: 165.5 kB / 1.033 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3626, allocations: 3.984 kB / 1.033 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/0.3627, allocations: 12.03 kB / 1.033 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3627, allocations: 0 / 1.033 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3627, allocations: 0 / 1.033 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3627, allocations: 0 / 1.033 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3627, allocations: 4 kB / 1.033 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.3629, allocations: 179.4 kB / 1.033 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.363, allocations: 81.09 kB / 1.033 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.363, allocations: 0 / 1.033 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.3631, allocations: 8 kB / 1.033 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3631, allocations: 3.984 kB / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3631, allocations: 0 / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.3632, allocations: 87.31 kB / 1.033 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3632, allocations: 0 / 1.033 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001929/0.3634, allocations: 4 kB / 1.033 GB, free: 8.684 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001308/0.3635, allocations: 99.25 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.3637, allocations: 47.95 kB / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3637, allocations: 0 / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.3638, allocations: 23.98 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.3641, allocations: 10.44 kB / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.3644, allocations: 120.7 kB / 1.033 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3646, allocations: 0.677 MB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.3647, allocations: 0 / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.3647, allocations: 7.438 kB / 1.034 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3647, allocations: 0 / 1.034 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of Templates: time 0.001987/0.3667, allocations: 358.3 kB / 1.034 GB, free: 7.297 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)