Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.0009136/0.0009133, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006161/0.006161, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.675/1.675, allocations: 252 MB / 0.5105 GB, free: 4.613 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005669/0.0005672, allocations: 16 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6414, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001569/0.643, allocations: 1.104 MB / 0.7298 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003841/0.6434, allocations: 196.4 kB / 0.73 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.6435, allocations: 0 / 0.73 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.6435, allocations: 7.938 kB / 0.73 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.6436, allocations: 15.91 kB / 0.73 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.6437, allocations: 8 kB / 0.73 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.184e-05/0.6438, allocations: 59.72 kB / 0.7301 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.772e-05/0.6439, allocations: 8 kB / 0.7301 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.644, allocations: 19.92 kB / 0.7301 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.644, allocations: 19.92 kB / 0.7301 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.644, allocations: 3.938 kB / 0.7301 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.751e-05/0.6441, allocations: 4 kB / 0.7301 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.6441, allocations: 11.97 kB / 0.7302 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.6441, allocations: 45.58 kB / 0.7302 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.191e-05/0.6442, allocations: 53.81 kB / 0.7303 GB, free: 9.734 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6442, allocations: 0 / 0.7303 GB, free: 9.734 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6443, allocations: 0 / 0.7303 GB, free: 9.734 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.6443, allocations: 0 / 0.7303 GB, free: 9.734 MB / 0.545 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.0005107/0.6448, allocations: 367.3 kB / 0.7306 GB, free: 9.324 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.6448, allocations: 12.03 kB / 0.7306 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.6449, allocations: 4.875 kB / 0.7306 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.645, allocations: 176.2 kB / 0.7308 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.645, allocations: 12.36 kB / 0.7308 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.645, allocations: 8.375 kB / 0.7308 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.6452, allocations: 46.23 kB / 0.7308 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.6452, allocations: 192 / 0.7308 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.6452, allocations: 7.938 kB / 0.7309 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.6452, allocations: 8 kB / 0.7309 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.391e-05/0.6453, allocations: 19.98 kB / 0.7309 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.6456, allocations: 276.8 kB / 0.7311 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.631e-05/0.6457, allocations: 50.5 kB / 0.7312 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.6458, allocations: 16.98 kB / 0.7312 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.6458, allocations: 4 kB / 0.7312 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.646, allocations: 71.3 kB / 0.7313 GB, free: 8.508 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.646, allocations: 0 / 0.7313 GB, free: 8.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0001909/0.6462, allocations: 89.67 kB / 0.7314 GB, free: 8.414 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.6462, allocations: 55.41 kB / 0.7314 GB, free: 8.348 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.6463, allocations: 113.8 kB / 0.7315 GB, free: 8.227 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.6463, allocations: 29.7 kB / 0.7316 GB, free: 8.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.6464, allocations: 92.14 kB / 0.7316 GB, free: 8.098 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.6464, allocations: 7.891 kB / 0.7317 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.6465, allocations: 17.72 kB / 0.7317 GB, free: 8.066 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6466, allocations: 318.8 kB / 0.732 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.6466, allocations: 15.98 kB / 0.732 GB, free: 7.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/0.6467, allocations: 38.48 kB / 0.732 GB, free: 7.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.698e-05/0.6467, allocations: 51.14 kB / 0.7321 GB, free: 7.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6468, allocations: 192 / 0.7321 GB, free: 7.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000115/0.6469, allocations: 89.5 kB / 0.7322 GB, free: 7.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.6469, allocations: 9.969 kB / 0.7322 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6469, allocations: 0 / 0.7322 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.6469, allocations: 4 kB / 0.7322 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.647, allocations: 7.938 kB / 0.7322 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.647, allocations: 0 / 0.7322 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.6471, allocations: 23.98 kB / 0.7322 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.6471, allocations: 7.984 kB / 0.7322 GB, free: 7.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,nor1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 9.039e-05/0.6472, allocations: 117.8 kB / 0.7323 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.6472, allocations: 11.84 kB / 0.7323 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.6473, allocations: 8.375 kB / 0.7323 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6473, allocations: 4 kB / 0.7323 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.6473, allocations: 0 / 0.7323 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.6473, allocations: 4 kB / 0.7324 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.6474, allocations: 173.6 kB / 0.7325 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6474, allocations: 4 kB / 0.7325 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-06/0.6475, allocations: 0 / 0.7325 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.6475, allocations: 0 / 0.7325 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.6475, allocations: 0 / 0.7325 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6475, allocations: 3.938 kB / 0.7325 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6475, allocations: 4 kB / 0.7325 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.6476, allocations: 104.9 kB / 0.7326 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.6477, allocations: 85.11 kB / 0.7327 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.6477, allocations: 0 / 0.7327 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.6478, allocations: 15.98 kB / 0.7327 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.6478, allocations: 11.98 kB / 0.7327 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.6479, allocations: 4 kB / 0.7327 GB, free: 6.844 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.6479, allocations: 91.27 kB / 0.7328 GB, free: 6.754 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6479, allocations: 4 kB / 0.7328 GB, free: 6.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002023/0.6481, allocations: 15.91 kB / 0.7328 GB, free: 6.734 MB / 0.545 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001399/0.6483, allocations: 99.25 kB / 0.7329 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.6484, allocations: 43.92 kB / 0.733 GB, free: 6.586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.6484, allocations: 0 / 0.733 GB, free: 6.586 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.6484, allocations: 27.92 kB / 0.733 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.6487, allocations: 23.53 kB / 0.733 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.649, allocations: 174.5 kB / 0.7332 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.6493, allocations: 0.6848 MB / 0.7339 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.6493, allocations: 7.859 kB / 0.7339 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.6493, allocations: 11.44 kB / 0.7339 GB, free: 5.609 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.6494, allocations: 4 kB / 0.7339 GB, free: 5.605 MB / 0.545 GB Notification: Performance of Templates: time 0.002924/0.6523, allocations: 0.7728 MB / 0.7346 GB, free: 4.84 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) Environment - environmentSimulation: