Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.008/5.008, allocations: 0.5623 GB / 0.577 GB, free: 3.34 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.002464/0.002464, allocations: 355.1 kB / 0.644 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.342/4.342, allocations: 410.7 MB / 1.112 GB, free: 5.949 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.00178/0.00178, allocations: 183.9 kB / 1.225 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004991, allocations: 16 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.588/0.5885, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0007013/0.5893, allocations: 389.5 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.5906, allocations: 1.136 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.5906, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.5907, allocations: 3.938 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.018e-05/0.5907, allocations: 3.938 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006491/0.5914, allocations: 191 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.5915, allocations: 135.7 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.5916, allocations: 13.48 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.5917, allocations: 59.89 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.5918, allocations: 50.39 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.5919, allocations: 8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.58e-05/0.5919, allocations: 19.98 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.592, allocations: 7.938 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.592, allocations: 41.7 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.5922, allocations: 101.9 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.54e-06/0.5922, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.033e-06/0.5922, allocations: 1.688 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.064e-06/0.5922, allocations: 0 / 1.463 GB, free: 282.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003532/0.5926, allocations: 406.7 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.5926, allocations: 13.19 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.5927, allocations: 11.91 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.631e-05/0.5928, allocations: 178.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.5928, allocations: 7.984 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.5929, allocations: 12.78 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.593, allocations: 41.69 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.882e-06/0.593, allocations: 6.094 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.593, allocations: 4 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-06/0.593, allocations: 0 / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.629e-05/0.5931, allocations: 15.98 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.5935, allocations: 359 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.784e-05/0.5936, allocations: 32.36 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.5937, allocations: 16.94 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.5937, allocations: 4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.5939, allocations: 89.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.547e-06/0.5939, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0002476/0.5942, allocations: 97.58 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.5942, allocations: 53.19 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.5943, allocations: 129.9 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.5943, allocations: 33.7 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.5944, allocations: 88.33 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.5944, allocations: 16.48 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.5945, allocations: 8 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.5945, allocations: 319.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.5947, allocations: 57 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.5949, allocations: 97.12 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.5951, allocations: 113.1 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.852e-06/0.5951, allocations: 4.625 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004926/0.5956, allocations: 262.2 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.5957, allocations: 67.39 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.5957, allocations: 5.281 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.5957, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.321e-05/0.5957, allocations: 4 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.217e-06/0.5957, allocations: 3.938 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.5962, allocations: 80.53 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.5962, allocations: 12 kB / 1.465 GB, free: 279.4 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.293e-05/0.5963, allocations: 122.8 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.5964, allocations: 9 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.5964, allocations: 9.641 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-06/0.5964, allocations: 5.312 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5964, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.89e-06/0.5964, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.5966, allocations: 177.6 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.476e-06/0.5966, allocations: 0.875 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.5966, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.304e-06/0.5966, allocations: 1 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.775e-06/0.5966, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.353e-06/0.5966, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.507e-06/0.5967, allocations: 1.406 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.5968, allocations: 121.5 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.5969, allocations: 77.11 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.5969, allocations: 6.172 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.926e-05/0.5969, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.597, allocations: 8.797 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.597, allocations: 15.98 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.5971, allocations: 91.22 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.21e-07/0.5971, allocations: 1.219 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003078/0.5974, allocations: 31.98 kB / 1.466 GB, free: 278.6 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001334/0.5975, allocations: 100.5 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.5979, allocations: 247.9 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5979, allocations: 0 / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.68e-05/0.598, allocations: 27.92 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.5983, allocations: 27.47 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.5986, allocations: 167.4 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.5987, allocations: 0.6887 MB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.5988, allocations: 4 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.5988, allocations: 15.42 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.414e-06/0.5988, allocations: 0 / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.004641/0.6035, allocations: 1.683 MB / 1.469 GB, free: 275.7 MB / 0.8542 GB