Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002023/0.002023, allocations: 192.2 kB / 16.13 MB, free: 6.656 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.587/1.587, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.158/3.158, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 72.31 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4023, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00245/0.4048, allocations: 0.7138 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.4067, allocations: 1.205 MB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.4068, allocations: 4 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.602e-05/0.4069, allocations: 3.938 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.407, allocations: 7.922 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.4077, allocations: 204 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.4079, allocations: 151.7 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.4081, allocations: 16 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.4082, allocations: 63.88 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.4083, allocations: 43.88 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.4084, allocations: 8 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.887e-05/0.4085, allocations: 23.92 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.4085, allocations: 15.92 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.102e-05/0.4086, allocations: 43.89 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.4089, allocations: 151.6 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4089, allocations: 4 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4089, allocations: 0 / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.4089, allocations: 0 / 1.07 GB, free: 8.262 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006576/0.4096, allocations: 435 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4096, allocations: 12.02 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.4097, allocations: 12.84 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.4099, allocations: 164.3 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.4099, allocations: 12.38 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.4099, allocations: 8.375 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.4101, allocations: 54.23 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4101, allocations: 192 / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.4101, allocations: 7.875 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4101, allocations: 4 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.4102, allocations: 16 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.4108, allocations: 348.7 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.494e-05/0.4109, allocations: 46.5 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.4109, allocations: 12.86 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.4109, allocations: 3.938 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.4111, allocations: 79.45 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.4111, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002693/0.4114, allocations: 109.5 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.4114, allocations: 55.41 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.4115, allocations: 125.8 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.4116, allocations: 29.7 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.4117, allocations: 96.03 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.4117, allocations: 7.906 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.4118, allocations: 49.69 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4119, allocations: 322.8 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4121, allocations: 55.97 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.4123, allocations: 100.2 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.4125, allocations: 156 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4125, allocations: 0 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004516/0.4129, allocations: 268.7 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.413, allocations: 67.39 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.413, allocations: 0 / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.413, allocations: 4 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.19e-05/0.4131, allocations: 3.938 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.4131, allocations: 4 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.4135, allocations: 63.95 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.4135, allocations: 8 kB / 1.073 GB, free: 5.27 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.4136, allocations: 132 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.4137, allocations: 4 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.4137, allocations: 8.375 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4137, allocations: 0 / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4137, allocations: 0 / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4137, allocations: 4 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.4139, allocations: 185.5 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4139, allocations: 4 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-05/0.4139, allocations: 7.938 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4139, allocations: 0 / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.4139, allocations: 64 / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4139, allocations: 4 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.414, allocations: 4 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.4141, allocations: 109.3 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.4142, allocations: 85.02 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.4142, allocations: 7.984 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.4142, allocations: 0 / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.4143, allocations: 4 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4143, allocations: 7.984 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.4143, allocations: 91.22 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.4143, allocations: 0 / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002487/0.4146, allocations: 28 kB / 1.073 GB, free: 4.504 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 ($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 (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.0002213/0.4148, allocations: 107.2 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.4152, allocations: 258.6 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4153, allocations: 0 / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/0.4153, allocations: 27.98 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.4156, allocations: 15.92 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.416, allocations: 164.8 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.4165, allocations: 0.6876 MB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.639e-05/0.4166, allocations: 11.72 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.4166, allocations: 15.42 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.4166, allocations: 0 / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of Templates: time 0.0066/0.4232, allocations: 1.748 MB / 1.076 GB, free: 1.418 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)