Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.009132/0.009133, allocations: 170.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.093/3.093, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006319/0.0006322, allocations: 13.25 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4889, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001351/0.4903, allocations: 477 kB / 1.075 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.4923, allocations: 1.155 MB / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.4923, allocations: 0 / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.4924, allocations: 3.938 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.4925, allocations: 11.91 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.493, allocations: 111.4 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.4932, allocations: 111.8 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.4933, allocations: 27.95 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.4934, allocations: 39.91 kB / 1.076 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.4935, allocations: 35.84 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.4935, allocations: 4 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-05/0.4936, allocations: 15.98 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.4936, allocations: 15.97 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.628e-05/0.4937, allocations: 61.55 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.4939, allocations: 99.67 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4939, allocations: 0 / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4939, allocations: 0 / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.4939, allocations: 0 / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006645/0.4946, allocations: 401.3 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4947, allocations: 8.031 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.4947, allocations: 16.78 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.4949, allocations: 180.2 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.4949, allocations: 384 / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.495, allocations: 8.375 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.4952, allocations: 74.22 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.4952, allocations: 192 / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4952, allocations: 3.938 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.4953, allocations: 0 / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.4955, allocations: 55.95 kB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/0.4961, allocations: 328.7 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.4964, allocations: 66.48 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.4965, allocations: 45.02 kB / 1.077 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.4965, allocations: 3.938 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.4968, allocations: 103.3 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 4.238e-06/0.4968, allocations: 3.984 kB / 1.077 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000463/0.4972, allocations: 153.6 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.4973, allocations: 55.41 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.4974, allocations: 121.7 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4974, allocations: 29.7 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.4975, allocations: 88.14 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.4976, allocations: 19.8 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.4976, allocations: 17.72 kB / 1.078 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4977, allocations: 322.8 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.4979, allocations: 55.97 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.4981, allocations: 96.19 kB / 1.078 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.4984, allocations: 157.8 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4984, allocations: 4 kB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000475/0.4989, allocations: 215.2 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.499, allocations: 37.69 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.499, allocations: 128 / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.499, allocations: 8 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4991, allocations: 23.92 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4991, allocations: 0 / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.4994, allocations: 54.42 kB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.4994, allocations: 8.375 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001227/0.4996, allocations: 123 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.4996, allocations: 11.91 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.4996, allocations: 16.36 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4996, allocations: 0 / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4996, allocations: 3.938 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4997, allocations: 0 / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.5002, allocations: 398.3 kB / 1.079 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5002, allocations: 3.938 kB / 1.079 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.5003, allocations: 12 kB / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5003, allocations: 0 / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.5003, allocations: 7.922 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5003, allocations: 0 / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5003, allocations: 4 kB / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.5007, allocations: 215.4 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.5007, allocations: 85.02 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.5008, allocations: 0 / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.5009, allocations: 11.98 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.5009, allocations: 4 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.5009, allocations: 11.92 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.892e-05/0.501, allocations: 91.77 kB / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.501, allocations: 4 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002915/0.5013, allocations: 23.98 kB / 1.08 GB, free: 1.273 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000236/0.5016, allocations: 107.2 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.502, allocations: 195.2 kB / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.502, allocations: 0 / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.5022, allocations: 39.97 kB / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.5025, allocations: 12 kB / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.503, allocations: 187.4 kB / 1.08 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.5033, allocations: 0.6887 MB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.5034, allocations: 7.781 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.5034, allocations: 11.44 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.5034, allocations: 0 / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.004394/0.5078, allocations: 1.329 MB / 1.082 GB, free: 14.64 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)