Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002018/0.002018, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.604/1.604, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.801/1.801, allocations: 292.3 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.001444/0.001444, allocations: 71.48 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3409, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.003152/0.3441, allocations: 0.7749 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3454, allocations: 0.7971 MB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.3455, allocations: 3.938 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.3455, allocations: 3.938 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.3457, allocations: 7.938 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.3458, allocations: 11.98 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.346, allocations: 39.92 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.3461, allocations: 19.98 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.3463, allocations: 23.86 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.205e-05/0.3463, allocations: 19.92 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.3464, allocations: 4 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.3464, allocations: 4 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.3464, allocations: 11.92 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.3465, allocations: 15.94 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3466, allocations: 51.78 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3467, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.926e-06/0.3467, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3467, allocations: 0 / 0.7846 GB, free: 12.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007603/0.3475, allocations: 371.6 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.3475, allocations: 8.031 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.3476, allocations: 8.922 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.3478, allocations: 172.2 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3478, allocations: 384 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.3479, allocations: 384 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.3482, allocations: 78.16 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3482, allocations: 192 / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3482, allocations: 3.938 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3482, allocations: 0 / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.3485, allocations: 63.92 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.3491, allocations: 272.9 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.3493, allocations: 66.45 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.3495, allocations: 40.86 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3495, allocations: 4 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3495, allocations: 34.55 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.644e-06/0.3496, allocations: 0 / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005365/0.3501, allocations: 125.6 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3502, allocations: 63.34 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3503, allocations: 109.8 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3503, allocations: 25.7 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.3504, allocations: 88.12 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.3504, allocations: 19.75 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.3505, allocations: 13.66 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3507, allocations: 322.8 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3508, allocations: 35.91 kB / 0.7865 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3509, allocations: 31.95 kB / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.3512, allocations: 68.73 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3512, allocations: 0 / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003065/0.3516, allocations: 97.62 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3516, allocations: 11.98 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3516, allocations: 0 / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3516, allocations: 0 / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.3518, allocations: 19.92 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.3518, allocations: 4 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.329e-05/0.3519, allocations: 11.98 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3519, allocations: 4 kB / 0.7867 GB, free: 9.734 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 (3): * Single equations (assignments): 3 * 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.0001244/0.352, allocations: 113.8 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.3521, allocations: 7.906 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.3521, allocations: 11.89 kB / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3521, allocations: 0 / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3521, allocations: 0 / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3522, allocations: 0 / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.3524, allocations: 173.6 kB / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3524, allocations: 4 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.577e-05/0.3525, allocations: 19.97 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3525, allocations: 0 / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3525, allocations: 0 / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.3525, allocations: 7.984 kB / 0.787 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3526, allocations: 0 / 0.787 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.353, allocations: 199.7 kB / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.353, allocations: 85.38 kB / 0.7873 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.353, allocations: 4 kB / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3532, allocations: 7.984 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.3532, allocations: 7.938 kB / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.3532, allocations: 0 / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.909e-05/0.3533, allocations: 91.27 kB / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3533, allocations: 0 / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002296/0.3536, allocations: 16 kB / 0.7874 GB, free: 8.902 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 (3): * Single equations (assignments): 3 * 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.0002024/0.3538, allocations: 95.25 kB / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.3541, allocations: 71.91 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3542, allocations: 3.938 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3543, allocations: 43.89 kB / 0.7876 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.3547, allocations: 11.94 kB / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.3553, allocations: 145.4 kB / 0.7878 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.3557, allocations: 0.6846 MB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.3558, allocations: 4 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.3558, allocations: 7.438 kB / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/0.3558, allocations: 0 / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of Templates: time 0.003605/0.3594, allocations: 0.5929 MB / 0.789 GB, free: 7.195 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)