Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.8/4.8, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002465/0.002465, allocations: 358 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.32/4.32, allocations: 410.7 MB / 1.113 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001871/0.001871, allocations: 187.6 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004863, allocations: 12 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7123/0.7128, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.9066, allocations: 138.2 MB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.9069, allocations: 75.95 kB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.009084/0.916, allocations: 2.098 MB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.573e-06/0.916, allocations: 0 / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.9161, allocations: 0 / 1.598 GB, free: 143.9 MB / 0.8542 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.0005144/0.9166, allocations: 403.1 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.9166, allocations: 15.56 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.9167, allocations: 7.906 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.455e-05/0.9168, allocations: 185.3 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.9168, allocations: 8 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.9169, allocations: 12.81 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.9172, allocations: 68.83 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9172, allocations: 1.312 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.9172, allocations: 3.938 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.9172, allocations: 4 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.9175, allocations: 54.98 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.9181, allocations: 330.9 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.9183, allocations: 60.36 kB / 1.6 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.9185, allocations: 46.2 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.9185, allocations: 0.6562 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.9188, allocations: 93.33 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.244e-06/0.9189, allocations: 0 / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0006444/0.9195, allocations: 161.7 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.9196, allocations: 51.41 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.918e-05/0.9197, allocations: 122.9 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.9197, allocations: 33.7 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.9198, allocations: 88.14 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.9198, allocations: 22.34 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.9198, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.9199, allocations: 322.8 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.9202, allocations: 57.48 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.9204, allocations: 90.16 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.9207, allocations: 92.06 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9207, allocations: 0 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006805/0.9214, allocations: 214.3 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.9215, allocations: 41.69 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.9215, allocations: 0.9688 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.9215, allocations: 4 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.9217, allocations: 20.92 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9217, allocations: 0.875 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.9221, allocations: 58.16 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.9221, allocations: 8 kB / 1.601 GB, free: 141.1 MB / 0.8542 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.9222, allocations: 119.3 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.9223, allocations: 12.92 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.9223, allocations: 13.56 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.9223, allocations: 7.984 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9223, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9223, allocations: 2.031 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.923, allocations: 379.8 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.923, allocations: 5.531 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-05/0.9231, allocations: 15.92 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.9231, allocations: 1.406 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.9231, allocations: 0 / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9231, allocations: 0 / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.9231, allocations: 7.938 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.9236, allocations: 215.3 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.9236, allocations: 81.8 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.9236, allocations: 4 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.9238, allocations: 9.109 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.9238, allocations: 8.781 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.9239, allocations: 7.953 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.9239, allocations: 93.69 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9239, allocations: 1.562 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003474/0.9243, allocations: 28 kB / 1.602 GB, free: 140 MB / 0.8542 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 (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.0001661/0.9245, allocations: 115.8 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.925, allocations: 189.8 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9251, allocations: 1.031 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.9253, allocations: 44.5 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.9256, allocations: 17.38 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.9261, allocations: 176.4 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.9262, allocations: 0.6887 MB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.674e-05/0.9263, allocations: 9.328 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.9263, allocations: 11.44 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.793e-06/0.9263, allocations: 0.5 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.004721/0.9311, allocations: 1.287 MB / 1.604 GB, free: 137.5 MB / 0.8542 GB