Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001289/0.001289, allocations: 112.5 kB / 16.42 MB, free: 6.453 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.001427/0.001427, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.506/1.506, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.001591, allocations: 63.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.073, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002194/1.076, allocations: 0.6666 MB / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001746/1.077, allocations: 1.185 MB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/1.077, allocations: 0 / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/1.077, allocations: 7.875 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.037e-05/1.078, allocations: 15.88 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007914/1.078, allocations: 225.3 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/1.079, allocations: 179.7 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/1.079, allocations: 12 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/1.079, allocations: 63.89 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/1.079, allocations: 67.83 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/1.079, allocations: 19.94 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.664e-05/1.079, allocations: 27.98 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/1.079, allocations: 8 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.476e-05/1.079, allocations: 63.81 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/1.08, allocations: 151.1 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.08, allocations: 0 / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.595e-06/1.08, allocations: 0 / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.256e-05/1.08, allocations: 0 / 1.17 GB, free: 1.125 MB / 0.8887 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.0005907/1.08, allocations: 439.6 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.08, allocations: 8.922 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/1.08, allocations: 12.89 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/1.08, allocations: 164.3 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/1.081, allocations: 16.38 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/1.081, allocations: 12.36 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/1.081, allocations: 46.19 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.081, allocations: 192 / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/1.081, allocations: 7.938 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.081, allocations: 4 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.196e-05/1.081, allocations: 15.98 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/1.081, allocations: 344.8 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.423e-05/1.081, allocations: 42.45 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/1.081, allocations: 16.94 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/1.081, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/1.082, allocations: 71.38 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/1.082, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0002668/1.082, allocations: 113.5 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.082, allocations: 55.41 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/1.082, allocations: 121.8 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/1.082, allocations: 29.7 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/1.082, allocations: 96.09 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/1.082, allocations: 11.91 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.696e-05/1.082, allocations: 49.69 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.083, allocations: 318.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/1.083, allocations: 59.97 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/1.083, allocations: 100.9 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/1.083, allocations: 155.6 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/1.083, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004288/1.083, allocations: 260.9 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.722e-05/1.084, allocations: 75.33 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/1.084, allocations: 64 / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.084, allocations: 8 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.3e-05/1.084, allocations: 7.984 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/1.084, allocations: 4.469 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/1.084, allocations: 59.95 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/1.084, allocations: 8 kB / 1.173 GB, free: 14.14 MB / 0.9044 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.0001055/1.084, allocations: 125.8 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/1.084, allocations: 15.89 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/1.084, allocations: 8.312 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.084, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.084, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/1.084, allocations: 81.11 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/1.084, allocations: 7.984 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.216e-05/1.084, allocations: 7.938 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/1.084, allocations: 7.984 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001581/1.085, allocations: 157 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001971/1.085, allocations: 254.7 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.447e-05/1.085, allocations: 24.45 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.951e-05/1.085, allocations: 95.27 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of Backend: time 6.51e-07/1.085, allocations: 0 / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006507/1.085, allocations: 309.1 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006034/1.086, allocations: 0.6004 MB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of Templates: time 0.005331/1.091, allocations: 1.879 MB / 1.176 GB, free: 10.48 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches