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.001058/0.001058, 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.01158/0.01158, allocations: 170.6 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.779/1.779, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.094/3.094, allocations: 473.4 MB / 0.7469 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.000417, allocations: 8.938 kB / 0.9158 GB, free: 32.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4414, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001147/0.4426, allocations: 395.9 kB / 1.075 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.4446, allocations: 1.194 MB / 1.076 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.4447, allocations: 0 / 1.076 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.4448, allocations: 3.938 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.909e-05/0.4449, allocations: 15.91 kB / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.4455, allocations: 198.2 kB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.4458, allocations: 155.7 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.4459, allocations: 8 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.446, allocations: 59.88 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.4461, allocations: 43.88 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.4462, allocations: 12 kB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.023e-05/0.4463, allocations: 23.97 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.4463, allocations: 7.938 kB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.4464, allocations: 73.59 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.4466, allocations: 151.5 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4466, allocations: 0 / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4467, allocations: 0 / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.4467, allocations: 0 / 1.076 GB, free: 5.234 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.0005714/0.4472, allocations: 411.1 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4473, allocations: 12.03 kB / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.4474, allocations: 8.844 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.4475, allocations: 164.4 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.4476, allocations: 12.31 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.4476, allocations: 8.375 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.4477, allocations: 54.23 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4477, allocations: 192 / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4478, allocations: 3.938 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4478, allocations: 0 / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.301e-05/0.4478, allocations: 19.92 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.4484, allocations: 356.7 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.178e-05/0.4485, allocations: 34.52 kB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.4486, allocations: 24.94 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.4486, allocations: 0 / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.4488, allocations: 83.3 kB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.4489, allocations: 0 / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000285/0.4492, allocations: 105.6 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.4492, allocations: 55.41 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.4493, allocations: 121.8 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.4494, allocations: 33.64 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.4495, allocations: 88.14 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.4495, allocations: 15.8 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.4495, allocations: 29.7 kB / 1.078 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4497, allocations: 314.8 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.4498, allocations: 63.95 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.45, allocations: 92.27 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.4502, allocations: 160.1 kB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4502, allocations: 0 / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00044/0.4506, allocations: 264.7 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.998e-05/0.4507, allocations: 75.33 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4507, allocations: 64 / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4507, allocations: 4 kB / 1.079 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.531e-05/0.4507, allocations: 7.938 kB / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4508, allocations: 0 / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.4512, allocations: 76.06 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.4512, allocations: 11.98 kB / 1.079 GB, free: 2.273 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.0001161/0.4514, allocations: 133.7 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.4514, allocations: 7.891 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.4514, allocations: 12.38 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4514, allocations: 0 / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4514, allocations: 0 / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4514, allocations: 0 / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.4516, allocations: 173.6 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4516, allocations: 0 / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.4516, allocations: 7.984 kB / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4516, allocations: 4 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.4516, allocations: 0 / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4516, allocations: 7.938 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4516, allocations: 0 / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.4518, allocations: 117.2 kB / 1.079 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.4519, allocations: 81.02 kB / 1.08 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.4519, allocations: 4 kB / 1.08 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.4519, allocations: 0 / 1.08 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.452, allocations: 7.984 kB / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.452, allocations: 0 / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.835e-05/0.452, allocations: 95.27 kB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.452, allocations: 288 / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002357/0.4523, allocations: 32 kB / 1.08 GB, free: 1.508 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.0001803/0.4525, allocations: 107.2 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003504/0.4528, allocations: 250.6 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4528, allocations: 0 / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.4529, allocations: 24.23 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.4531, allocations: 21.23 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.4535, allocations: 175.2 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.4538, allocations: 0.6848 MB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.4539, allocations: 7.781 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.4539, allocations: 15.42 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.4539, allocations: 0 / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of Templates: time 0.005102/0.459, allocations: 1.749 MB / 1.083 GB, free: 14.41 MB / 0.8419 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)