Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.989/1.989, allocations: 288.3 MB / 303.2 MB, free: 8.191 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.00155/0.00155, allocations: 186.7 kB / 371.8 MB, free: 10.3 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.783/1.783, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009346/0.0009346, allocations: 97.08 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004084, allocations: 13.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2953, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.0009621/0.2963, allocations: 385.5 kB / 0.9798 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009304/0.2973, allocations: 0.7949 MB / 0.9806 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.2973, allocations: 0 / 0.9806 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.2973, allocations: 11.86 kB / 0.9806 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.2974, allocations: 7.984 kB / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.2976, allocations: 8 kB / 0.9806 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.622e-05/0.2976, allocations: 15.97 kB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2977, allocations: 0 / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.567e-05/0.2978, allocations: 8 kB / 0.9806 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.2979, allocations: 11.92 kB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.2979, allocations: 0 / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.2979, allocations: 0 / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.2979, allocations: 4 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.2979, allocations: 29.7 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.681e-05/0.298, allocations: 15.97 kB / 0.9807 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.298, allocations: 0 / 0.9807 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.298, allocations: 0 / 0.9807 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.298, allocations: 0 / 0.9807 GB, free: 26.4 MB / 0.6198 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.0004113/0.2984, allocations: 344.7 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2985, allocations: 15.95 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.2985, allocations: 0 / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.2986, allocations: 175 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2986, allocations: 0 / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.2987, allocations: 0 / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.2988, allocations: 53.67 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2989, allocations: 0 / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2989, allocations: 0 / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2989, allocations: 4 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.2991, allocations: 43.97 kB / 0.9813 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.2994, allocations: 256.8 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.2995, allocations: 42.56 kB / 0.9816 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2995, allocations: 0 / 0.9816 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.2995, allocations: 30.56 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.2995, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003398/0.2999, allocations: 105.6 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.2999, allocations: 55.34 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.3, allocations: 101.8 kB / 0.9819 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.3, allocations: 25.7 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.3, allocations: 88.17 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.3001, allocations: 4 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.3001, allocations: 0 / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.3001, allocations: 318.8 kB / 0.9823 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.3002, allocations: 27.91 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.3003, allocations: 23.98 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.64e-05/0.3004, allocations: 19.98 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3004, allocations: 0 / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000183/0.3006, allocations: 85.62 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3006, allocations: 7.938 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3006, allocations: 0 / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3006, allocations: 0 / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.066e-05/0.3007, allocations: 11.98 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3007, allocations: 4 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.3008, allocations: 8 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.3008, allocations: 4.031 kB / 0.9825 GB, free: 24.37 MB / 0.6198 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 5.207e-05/0.3009, allocations: 113.8 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.3009, allocations: 3.984 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.3011, allocations: 84.78 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3011, allocations: 192 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/0.3011, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3012, allocations: 3.984 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3013, allocations: 157.6 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3013, allocations: 0 / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.3013, allocations: 19.92 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3014, allocations: 0 / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3014, allocations: 0 / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3014, allocations: 0 / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3014, allocations: 4.031 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.3016, allocations: 171.5 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.3016, allocations: 92.98 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3017, allocations: 3.984 kB / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.3017, allocations: 4 kB / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3018, allocations: 7.938 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3018, allocations: 3.984 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.109e-05/0.3018, allocations: 79.28 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3018, allocations: 0 / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001959/0.302, allocations: 0 / 0.9832 GB, free: 23.54 MB / 0.6198 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.000135/0.3022, allocations: 107.2 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.3024, allocations: 51.89 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3024, allocations: 0 / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.3025, allocations: 24.05 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.3027, allocations: 0 / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.3029, allocations: 108.9 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3031, allocations: 0.6809 MB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.3031, allocations: 8.062 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.3031, allocations: 7.438 kB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.3031, allocations: 0 / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.002252/0.3054, allocations: 347.4 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)