Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.002071/0.002071, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.539/1.539, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 67.91 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9829/0.9846, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002254/0.9869, allocations: 0.6456 MB / 1.227 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.9887, allocations: 1.19 MB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.9888, allocations: 0 / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.9889, allocations: 3.938 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.989, allocations: 15.86 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008651/0.9899, allocations: 221.6 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.9902, allocations: 183.8 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.9903, allocations: 7.984 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.9905, allocations: 67.89 kB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.9906, allocations: 59.84 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.9907, allocations: 16 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.9908, allocations: 31.92 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.9909, allocations: 11.94 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.435e-05/0.991, allocations: 55.88 kB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.9912, allocations: 159 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9912, allocations: 0 / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9913, allocations: 0 / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.9913, allocations: 0 / 1.229 GB, free: 10.86 MB / 0.9512 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.0006926/0.992, allocations: 439.6 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.992, allocations: 8.031 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.606e-05/0.9921, allocations: 12.89 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.9923, allocations: 172.3 kB / 1.23 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.9923, allocations: 8.375 kB / 1.23 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.9923, allocations: 8.375 kB / 1.23 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.9925, allocations: 46.25 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.9925, allocations: 8.125 kB / 1.23 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.9925, allocations: 11.92 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9925, allocations: 0 / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.514e-05/0.9926, allocations: 12 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.9931, allocations: 348.8 kB / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.297e-05/0.9932, allocations: 42.5 kB / 1.23 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.9933, allocations: 12.86 kB / 1.23 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.9933, allocations: 3.938 kB / 1.23 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.9935, allocations: 79.45 kB / 1.23 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.9935, allocations: 0 / 1.23 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003028/0.9938, allocations: 105.6 kB / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.9939, allocations: 59.39 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.994, allocations: 121.8 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.994, allocations: 33.7 kB / 1.23 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.9941, allocations: 92.41 kB / 1.231 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.9941, allocations: 15.89 kB / 1.231 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.9942, allocations: 49.69 kB / 1.231 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.9944, allocations: 322.8 kB / 1.231 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.9945, allocations: 63.89 kB / 1.231 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.9947, allocations: 92.27 kB / 1.231 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.9949, allocations: 155.6 kB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.9949, allocations: 0 / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004623/0.9954, allocations: 268.9 kB / 1.231 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/0.9955, allocations: 67.39 kB / 1.231 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.9955, allocations: 0 / 1.231 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.9955, allocations: 4 kB / 1.231 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.403e-05/0.9955, allocations: 3.938 kB / 1.232 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.9955, allocations: 4 kB / 1.232 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.9959, allocations: 59.95 kB / 1.232 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.9959, allocations: 15.98 kB / 1.232 GB, free: 7.859 MB / 0.9512 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 0.0001264/0.9961, allocations: 121.8 kB / 1.232 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.9961, allocations: 7.953 kB / 1.232 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.9961, allocations: 8.375 kB / 1.232 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.9961, allocations: 3.984 kB / 1.232 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.9961, allocations: 0 / 1.232 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.9962, allocations: 85.06 kB / 1.232 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.9962, allocations: 7.984 kB / 1.232 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.17e-05/0.9963, allocations: 3.938 kB / 1.232 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.9963, allocations: 7.984 kB / 1.232 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001588/0.9965, allocations: 160.9 kB / 1.232 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002017/0.9967, allocations: 250.8 kB / 1.232 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.528e-05/0.9967, allocations: 23.98 kB / 1.232 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.653e-05/0.9968, allocations: 99.25 kB / 1.232 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of Backend: time 3.3e-07/0.9968, allocations: 0 / 1.232 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006873/0.9975, allocations: 310.7 kB / 1.233 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006169/0.9981, allocations: 0.6082 MB / 1.233 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of Templates: time 0.005062/1.003, allocations: 1.882 MB / 1.235 GB, free: 4.191 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches