Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001307/0.001308, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002068/0.002068, allocations: 192.6 kB / 16.25 MB, free: 6.617 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.494/1.494, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.098/3.098, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 65.92 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4345, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002819/0.4373, allocations: 0.7216 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.4393, allocations: 1.186 MB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.4394, allocations: 0 / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.4394, allocations: 3.938 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.73e-05/0.4396, allocations: 7.922 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.4404, allocations: 210.7 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.4407, allocations: 179.8 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4408, allocations: 8 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.4409, allocations: 67.88 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.4411, allocations: 47.88 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.4411, allocations: 16 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.4412, allocations: 35.91 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.4413, allocations: 11.92 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.731e-05/0.4414, allocations: 55.91 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.4416, allocations: 155.6 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4417, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4417, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.4417, allocations: 0 / 1.07 GB, free: 8.07 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.00071/0.4424, allocations: 431 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4424, allocations: 8.031 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.913e-05/0.4425, allocations: 16.83 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4427, allocations: 160.4 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.4427, allocations: 16.38 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.4428, allocations: 8.375 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.4429, allocations: 46.23 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4429, allocations: 192 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.4429, allocations: 11.88 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.443, allocations: 4 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.443, allocations: 11.98 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.4436, allocations: 356.7 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.4437, allocations: 38.5 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.4437, allocations: 16.86 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.4438, allocations: 3.938 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.444, allocations: 83.38 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.444, allocations: 0 / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002898/0.4443, allocations: 109.8 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.4443, allocations: 51.41 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.4444, allocations: 121.8 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.4445, allocations: 29.7 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.4446, allocations: 96.03 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.4446, allocations: 11.89 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.4447, allocations: 49.69 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4449, allocations: 322.8 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.445, allocations: 63.97 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.4452, allocations: 96.2 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.4454, allocations: 159.6 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4454, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004519/0.4459, allocations: 256.8 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.831e-05/0.446, allocations: 71.86 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.446, allocations: 80 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.446, allocations: 4 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.01e-05/0.446, allocations: 7.938 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.4461, allocations: 7.984 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.4465, allocations: 63.89 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.4465, allocations: 8 kB / 1.073 GB, free: 5.078 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.0001341/0.4467, allocations: 133.7 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.4467, allocations: 4 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.4467, allocations: 4.375 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4467, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4467, allocations: 4.062 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.4467, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.4469, allocations: 185.5 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4469, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.4469, allocations: 7.938 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4469, allocations: 0 / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.447, allocations: 0 / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.447, allocations: 0 / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.447, allocations: 0 / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.4472, allocations: 117 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.4472, allocations: 85.02 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.4472, allocations: 3.984 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.4473, allocations: 0 / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.4473, allocations: 8 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-06/0.4473, allocations: 4 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.664e-05/0.4474, allocations: 91.27 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4474, allocations: 0 / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002913/0.4477, allocations: 24 kB / 1.074 GB, free: 4.32 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.0002602/0.448, allocations: 115.2 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.4484, allocations: 246.6 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4484, allocations: 3.938 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/0.4485, allocations: 27.98 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.4488, allocations: 18.09 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.4493, allocations: 174.9 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4496, allocations: 0.6846 MB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.884e-05/0.4497, allocations: 7.781 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.4497, allocations: 15.44 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.4497, allocations: 0 / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of Templates: time 0.00563/0.4554, allocations: 1.827 MB / 1.077 GB, free: 1.148 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)