Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001708/0.001709, allocations: 193.5 kB / 16.25 MB, free: 6.145 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.634/1.634, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.724/1.724, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001591/0.001592, allocations: 72.02 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2923, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.00223/0.2946, allocations: 0.7281 MB / 0.7836 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009354/0.2955, allocations: 0.8049 MB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.2955, allocations: 4 kB / 0.7844 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.2956, allocations: 0 / 0.7844 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.2957, allocations: 3.938 kB / 0.7844 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.2958, allocations: 11.98 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.2959, allocations: 23.94 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.296, allocations: 7.984 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.2961, allocations: 11.94 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.2961, allocations: 15.91 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2961, allocations: 0 / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.2962, allocations: 4 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.2962, allocations: 8 kB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.2962, allocations: 7.938 kB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.275e-05/0.2963, allocations: 15.97 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2963, allocations: 0 / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2963, allocations: 4 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.2963, allocations: 0 / 0.7845 GB, free: 12.24 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004931/0.2968, allocations: 343.6 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2969, allocations: 8.031 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.2969, allocations: 12.92 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.297, allocations: 160.4 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2971, allocations: 384 / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.2971, allocations: 384 / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.2973, allocations: 50.23 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2973, allocations: 192 / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2973, allocations: 3.938 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2974, allocations: 4 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.2975, allocations: 35.91 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.298, allocations: 248.9 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.2981, allocations: 38.5 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.2982, allocations: 24.91 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.2982, allocations: 4 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.2983, allocations: 34.55 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.2983, allocations: 0 / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003812/0.2987, allocations: 81.59 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.2987, allocations: 55.39 kB / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.2989, allocations: 93.98 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.2989, allocations: 33.7 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.299, allocations: 88.12 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.299, allocations: 3.906 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.299, allocations: 21.64 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2992, allocations: 314.8 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.2993, allocations: 11.98 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.2994, allocations: 23.98 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.2996, allocations: 40.75 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2996, allocations: 0 / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.2998, allocations: 65.61 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2998, allocations: 7.984 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2998, allocations: 0 / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2998, allocations: 4.094 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.2999, allocations: 8 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3, allocations: 4 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.3, allocations: 8.172 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3, allocations: 3.938 kB / 0.7862 GB, free: 10.21 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.3002, allocations: 118.4 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.3002, allocations: 3.984 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.3004, allocations: 72.72 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3005, allocations: 7.984 kB / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3005, allocations: 0 / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3005, allocations: 0 / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.3007, allocations: 157.6 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3007, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.3007, allocations: 7.984 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3008, allocations: 4 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3008, allocations: 0 / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3008, allocations: 4.031 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3008, allocations: 0 / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.3011, allocations: 171.3 kB / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.3011, allocations: 81.05 kB / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3012, allocations: 0 / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.3013, allocations: 12.02 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.3013, allocations: 4 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3014, allocations: 4 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.3014, allocations: 83.27 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3014, allocations: 0 / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002061/0.3016, allocations: 0 / 0.7869 GB, free: 9.391 MB / 0.6075 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 (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.0002176/0.3019, allocations: 99.25 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3021, allocations: 35.97 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3021, allocations: 0 / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.3022, allocations: 27.91 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.3026, allocations: 14.97 kB / 0.7871 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.303, allocations: 109.5 kB / 0.7872 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.3034, allocations: 0.6769 MB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.3034, allocations: 3.984 kB / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.3035, allocations: 7.438 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3035, allocations: 0 / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of Templates: time 0.002954/0.3064, allocations: 387.3 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)