Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007662/0.0007662, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007784/0.0007784, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 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 0.8681/0.8681, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.627/1.627, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.831e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001087/0.001105, allocations: 0.6452 MB / 0.9524 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.002153, allocations: 1.206 MB / 0.9536 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.002191, allocations: 4 kB / 0.9536 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.002218, allocations: 3.938 kB / 0.9536 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.852e-05/0.002276, allocations: 7.922 kB / 0.9536 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.002728, allocations: 226 kB / 0.9538 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.00289, allocations: 175.6 kB / 0.954 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.002975, allocations: 7.984 kB / 0.954 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.003077, allocations: 91.92 kB / 0.9541 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.425e-05/0.003171, allocations: 51.8 kB / 0.9541 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.003196, allocations: 16 kB / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.816e-05/0.003254, allocations: 31.97 kB / 0.9541 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.003271, allocations: 8 kB / 0.9542 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.003328, allocations: 59.88 kB / 0.9542 GB, free: 456 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.003503, allocations: 175.6 kB / 0.9544 GB, free: 280 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003505, allocations: 0 / 0.9544 GB, free: 280 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003506, allocations: 3.938 kB / 0.9544 GB, free: 276 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.00351, allocations: 3.938 kB / 0.9544 GB, free: 272 kB / 0.9011 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.0003833/0.003893, allocations: 357.5 kB / 0.9547 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.003924, allocations: 12.03 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.003969, allocations: 8.891 kB / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.995e-05/0.004039, allocations: 109.7 kB / 0.9549 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.004053, allocations: 16.38 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.004073, allocations: 8.375 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.884e-05/0.004162, allocations: 46.23 kB / 0.9549 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.00417, allocations: 192 / 0.9549 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.004179, allocations: 384 / 0.9549 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.004184, allocations: 4.375 kB / 0.9549 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.422e-05/0.004218, allocations: 23.86 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.004529, allocations: 268.5 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.081e-05/0.00459, allocations: 26.58 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.00461, allocations: 16.94 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.00462, allocations: 8 kB / 0.9553 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.004729, allocations: 91.23 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.00473, allocations: 0 / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001934/0.004923, allocations: 101.6 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.004957, allocations: 55.41 kB / 0.9555 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.005026, allocations: 125.8 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.005046, allocations: 29.7 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.005091, allocations: 92.09 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.005103, allocations: 15.83 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.005298, allocations: 57.62 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.00537, allocations: 322.8 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.005481, allocations: 119.4 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.005593, allocations: 155.7 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.005712, allocations: 151.6 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005714, allocations: 0 / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000286/0.006, allocations: 328.2 kB / 0.9568 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.006037, allocations: 71.52 kB / 0.9569 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.006041, allocations: 0 / 0.9569 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.006053, allocations: 4 kB / 0.9569 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.38e-05/0.006066, allocations: 3.938 kB / 0.9569 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.006071, allocations: 7.938 kB / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.006254, allocations: 55.89 kB / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.006273, allocations: 11.98 kB / 0.957 GB, free: 13.32 MB / 0.9167 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 6.297e-05/0.006336, allocations: 121.8 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.006345, allocations: 11.89 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.006366, allocations: 12.42 kB / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006369, allocations: 4 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.006372, allocations: 0 / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.006375, allocations: 0 / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.714e-05/0.006442, allocations: 113.8 kB / 0.9572 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.006444, allocations: 4 kB / 0.9572 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-06/0.006447, allocations: 0 / 0.9572 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.006449, allocations: 3.938 kB / 0.9572 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.006457, allocations: 7.984 kB / 0.9572 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.006457, allocations: 4.25 kB / 0.9572 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.006459, allocations: 7.938 kB / 0.9572 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.44e-05/0.006553, allocations: 121 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.00656, allocations: 3.938 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.006572, allocations: 7.938 kB / 0.9574 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.006582, allocations: 0 / 0.9574 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.006615, allocations: 7.984 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.00662, allocations: 4.062 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.113e-05/0.006651, allocations: 91.27 kB / 0.9575 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006651, allocations: 0 / 0.9575 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001533/0.006804, allocations: 32 kB / 0.9575 GB, free: 12.71 MB / 0.9167 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.0001026/0.006907, allocations: 98.34 kB / 0.9576 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.007148, allocations: 286.1 kB / 0.9579 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.00715, allocations: 3.938 kB / 0.9579 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.007182, allocations: 23.98 kB / 0.9579 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.007336, allocations: 20.17 kB / 0.9579 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.00758, allocations: 191.1 kB / 0.9581 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.007618, allocations: 71.25 kB / 0.9582 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.007635, allocations: 12.5 kB / 0.9582 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.007635, allocations: 3.938 kB / 0.9582 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of Templates: time 0.002003/0.009638, allocations: 1.412 MB / 0.9596 GB, free: 10.53 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.44034634064883]