Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.331/2.331, allocations: 391.2 MB / 407 MB, free: 10.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 191.4 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 106.7 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 55.05 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3685, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002999/0.3716, allocations: 0.7315 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3728, allocations: 0.8078 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.3729, allocations: 0 / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.324e-05/0.373, allocations: 3.938 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.373, allocations: 0 / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.3733, allocations: 11.98 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.251e-05/0.3733, allocations: 23.92 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3735, allocations: 4 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.32e-05/0.3736, allocations: 11.98 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.3736, allocations: 7.922 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3737, allocations: 8 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.3737, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.3737, allocations: 4 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.3738, allocations: 7.938 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.503e-05/0.3739, allocations: 23.89 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3739, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3739, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3739, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 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.0005056/0.3744, allocations: 337.6 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3745, allocations: 19.98 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.3745, allocations: 0.9375 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3746, allocations: 164.4 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.3746, allocations: 4.312 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3747, allocations: 4.375 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.3748, allocations: 50.23 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3749, allocations: 192 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3749, allocations: 3.938 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3749, allocations: 7.938 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.3751, allocations: 35.97 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.3754, allocations: 252.9 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.3755, allocations: 38.44 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.3756, allocations: 24.91 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3756, allocations: 0 / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.3757, allocations: 34.56 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3757, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0003404/0.376, allocations: 77.64 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3761, allocations: 55.34 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.3762, allocations: 110 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.3762, allocations: 25.7 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.3762, allocations: 80.14 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.3762, allocations: 7.844 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.3763, allocations: 17.72 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.3764, allocations: 314.8 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.3764, allocations: 15.98 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.3765, allocations: 23.92 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.3767, allocations: 40.81 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3767, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001647/0.3768, allocations: 65.55 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3769, allocations: 9.344 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3769, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3769, allocations: 3.984 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/0.377, allocations: 4 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.377, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.3771, allocations: 11.98 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3771, allocations: 4 kB / 1.221 GB, free: 113.5 MB / 0.823 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 7.877e-05/0.3772, allocations: 110.4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.3772, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.3774, allocations: 76.97 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3774, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3774, allocations: 3.984 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3774, allocations: 3.984 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.3776, allocations: 157.6 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3776, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.3776, allocations: 15.92 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3776, allocations: 32 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.3777, allocations: 4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3777, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3777, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.3781, allocations: 0.7278 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.3781, allocations: 81.05 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.3782, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.3782, allocations: 7.984 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3783, allocations: 8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.3783, allocations: 7.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.439e-05/0.3783, allocations: 75.28 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3783, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002991/0.3786, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 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.0001623/0.3788, allocations: 107.2 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.379, allocations: 31.97 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.379, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.3791, allocations: 27.86 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3794, allocations: 9.812 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.3798, allocations: 214.3 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.38, allocations: 0.677 MB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.38, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.38, allocations: 11.44 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of SimCode: time 6.71e-07/0.38, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of Templates: time 0.002531/0.3826, allocations: 361.5 kB / 1.224 GB, free: 110.6 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)