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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.3 MB / 308.1 MB, free: 4.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 186.2 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 99.23 kB / 0.748 GB, free: 60.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 52.06 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.33, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.003773/0.3339, allocations: 0.7302 MB / 0.9829 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.3356, allocations: 0.8088 MB / 0.9837 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.3357, allocations: 0 / 0.9837 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.325e-05/0.3357, allocations: 7.922 kB / 0.9837 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.3359, allocations: 0 / 0.9837 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.3361, allocations: 4 kB / 0.9837 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.812e-05/0.3362, allocations: 23.92 kB / 0.9838 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3363, allocations: 8 kB / 0.9838 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3364, allocations: 7.938 kB / 0.9838 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.3365, allocations: 15.97 kB / 0.9838 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3365, allocations: 0 / 0.9838 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.3365, allocations: 4 kB / 0.9838 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.3366, allocations: 0 / 0.9838 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.3366, allocations: 11.92 kB / 0.9838 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.918e-05/0.3367, allocations: 19.91 kB / 0.9838 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3367, allocations: 0 / 0.9838 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3367, allocations: 4 kB / 0.9838 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.3367, allocations: 4 kB / 0.9838 GB, free: 8.711 MB / 0.7136 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.0005124/0.3372, allocations: 339.7 kB / 0.9842 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3373, allocations: 8.031 kB / 0.9842 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.3373, allocations: 4.938 kB / 0.9842 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.3375, allocations: 168.2 kB / 0.9843 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3375, allocations: 384 / 0.9843 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3375, allocations: 384 / 0.9843 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3377, allocations: 54.23 kB / 0.9844 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3378, allocations: 192 / 0.9844 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3378, allocations: 3.938 kB / 0.9844 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3378, allocations: 7.938 kB / 0.9844 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.338, allocations: 35.95 kB / 0.9844 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.3384, allocations: 240.9 kB / 0.9847 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3385, allocations: 50.47 kB / 0.9847 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.866e-05/0.3386, allocations: 24.91 kB / 0.9847 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3386, allocations: 0 / 0.9847 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.3387, allocations: 30.56 kB / 0.9848 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3387, allocations: 0 / 0.9848 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.00043/0.3391, allocations: 93.56 kB / 0.9849 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.3392, allocations: 51.41 kB / 0.9849 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.3393, allocations: 101.8 kB / 0.985 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.3393, allocations: 29.7 kB / 0.985 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.3394, allocations: 84.14 kB / 0.9851 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3394, allocations: 7.891 kB / 0.9851 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.3394, allocations: 13.72 kB / 0.9851 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3396, allocations: 319 kB / 0.9854 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.3397, allocations: 15.97 kB / 0.9855 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.3398, allocations: 19.98 kB / 0.9855 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.3399, allocations: 32.83 kB / 0.9855 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3399, allocations: 0 / 0.9855 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.3401, allocations: 77.59 kB / 0.9856 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3402, allocations: 6.812 kB / 0.9856 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3402, allocations: 0 / 0.9856 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3402, allocations: 0 / 0.9856 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3403, allocations: 11.98 kB / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.3403, allocations: 0 / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.3404, allocations: 7.984 kB / 0.9856 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3404, allocations: 32 / 0.9856 GB, free: 6.684 MB / 0.7136 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.0001194/0.3405, allocations: 125.8 kB / 0.9857 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.3405, allocations: 3.906 kB / 0.9857 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.3408, allocations: 64.78 kB / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3408, allocations: 4 kB / 0.9858 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.3408, allocations: 3.938 kB / 0.9858 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3408, allocations: 0 / 0.9858 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.341, allocations: 165.6 kB / 0.986 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.341, allocations: 0 / 0.986 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.3411, allocations: 4 kB / 0.986 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.3411, allocations: 4 kB / 0.986 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3411, allocations: 0 / 0.986 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3411, allocations: 3.984 kB / 0.986 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3411, allocations: 0 / 0.986 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.3418, allocations: 0.7201 MB / 0.9867 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.3418, allocations: 92.97 kB / 0.9868 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3419, allocations: 0 / 0.9868 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.3419, allocations: 4 kB / 0.9868 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.342, allocations: 3.984 kB / 0.9868 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.342, allocations: 11.88 kB / 0.9868 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.3421, allocations: 87.31 kB / 0.9869 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3421, allocations: 0 / 0.9869 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003185/0.3424, allocations: 4 kB / 0.9869 GB, free: 5.254 MB / 0.7136 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.0001621/0.3426, allocations: 99.25 kB / 0.987 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.3428, allocations: 39.89 kB / 0.987 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3428, allocations: 64 / 0.987 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.778e-05/0.3429, allocations: 23.98 kB / 0.987 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.3433, allocations: 0 / 0.987 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.3437, allocations: 218.2 kB / 0.9872 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.344, allocations: 0.6731 MB / 0.9879 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.3441, allocations: 64 / 0.9879 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.3441, allocations: 11.44 kB / 0.9879 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/0.3441, allocations: 0 / 0.9879 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of Templates: time 0.002419/0.3465, allocations: 375.8 kB / 0.9883 GB, free: 3.758 MB / 0.7136 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)