Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009959/0.0009959, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.996/1.996, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.275e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.003224/0.003256, allocations: 0.7163 MB / 0.7608 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.005428, allocations: 1.244 MB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.005477, allocations: 0 / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.005505, allocations: 0.5625 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.847e-05/0.005594, allocations: 20.36 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.006153, allocations: 209.3 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.00637, allocations: 170.5 kB / 0.7624 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.515e-05/0.006445, allocations: 11.98 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.006566, allocations: 96.41 kB / 0.7625 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.006674, allocations: 53.41 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.0067, allocations: 12 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.079e-05/0.006781, allocations: 28 kB / 0.7626 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.006802, allocations: 15.91 kB / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.00685, allocations: 45.22 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.007282, allocations: 139.6 kB / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.007285, allocations: 0 / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.442e-06/0.007287, allocations: 0.9375 kB / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.007291, allocations: 0 / 0.7628 GB, free: 3.871 MB / 0.7136 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.0003567/0.007648, allocations: 328.2 kB / 0.7631 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.00768, allocations: 9.062 kB / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.007717, allocations: 12.92 kB / 0.7631 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.209e-05/0.0078, allocations: 117.7 kB / 0.7632 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.007815, allocations: 13.05 kB / 0.7632 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.007832, allocations: 10.16 kB / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.399e-05/0.007896, allocations: 38.25 kB / 0.7633 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.007904, allocations: 192 / 0.7633 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.007911, allocations: 4.375 kB / 0.7633 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.007918, allocations: 4.359 kB / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.466e-05/0.007932, allocations: 8.969 kB / 0.7633 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.0082, allocations: 188.1 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.567e-05/0.008255, allocations: 23.33 kB / 0.7635 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.008269, allocations: 8.859 kB / 0.7635 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.008274, allocations: 0.75 kB / 0.7635 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.474e-05/0.008369, allocations: 79.45 kB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.00837, allocations: 4.469 kB / 0.7636 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001327/0.008503, allocations: 83.67 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.008534, allocations: 55.41 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.506e-05/0.008599, allocations: 118.7 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.008621, allocations: 33.7 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.008661, allocations: 92.08 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.008673, allocations: 11.94 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.008731, allocations: 46.98 kB / 0.764 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.008805, allocations: 318.8 kB / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.008879, allocations: 99.38 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.186e-05/0.008961, allocations: 136.3 kB / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.009065, allocations: 138 kB / 0.7646 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.009067, allocations: 0 / 0.7646 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001963/0.009263, allocations: 263 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.009306, allocations: 67.39 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.009312, allocations: 4 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.009327, allocations: 8 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.841e-05/0.009345, allocations: 4 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.009348, allocations: 0 / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.009498, allocations: 37.14 kB / 0.765 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.009517, allocations: 11.98 kB / 0.765 GB, free: 1.285 MB / 0.7136 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,nand1.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 7.369e-05/0.009591, allocations: 126.7 kB / 0.7651 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.009602, allocations: 7.984 kB / 0.7652 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.009625, allocations: 13.31 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.009628, allocations: 4 kB / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.00963, allocations: 1.281 kB / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.009633, allocations: 0 / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.544e-05/0.009699, allocations: 73.88 kB / 0.7652 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.0097, allocations: 0 / 0.7652 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-06/0.009706, allocations: 5.562 kB / 0.7652 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.009708, allocations: 0 / 0.7652 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.009715, allocations: 7.984 kB / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.009715, allocations: 0 / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.009717, allocations: 4.594 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.543e-05/0.009793, allocations: 85.34 kB / 0.7653 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.009801, allocations: 8.609 kB / 0.7653 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-06/0.00981, allocations: 3.938 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.273e-05/0.009823, allocations: 0.5 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.00985, allocations: 19.36 kB / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.009854, allocations: 0 / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.347e-05/0.009877, allocations: 21.3 kB / 0.7654 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009877, allocations: 0 / 0.7654 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001443/0.01002, allocations: 32 kB / 0.7654 GB, free: 0.8359 MB / 0.7136 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,nand1.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.0001124/0.01013, allocations: 84.34 kB / 0.7655 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.01033, allocations: 257.6 kB / 0.7657 GB, free: 468 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01033, allocations: 4 kB / 0.7658 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.611e-05/0.01036, allocations: 28.77 kB / 0.7658 GB, free: 432 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.01048, allocations: 18.39 kB / 0.7658 GB, free: 416 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.01071, allocations: 149.8 kB / 0.7659 GB, free: 236 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.909e-05/0.01074, allocations: 59.34 kB / 0.766 GB, free: 156 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.177e-05/0.01076, allocations: 9.219 kB / 0.766 GB, free: 148 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.01087, allocations: 83.28 kB / 0.7661 GB, free: 64 kB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.01087, allocations: 0 / 0.7661 GB, free: 64 kB / 0.7136 GB Notification: Performance of Templates: time 0.003785/0.01465, allocations: 2.23 MB / 0.7683 GB, free: 13.96 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.245951075106859]