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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001263/0.001263, allocations: 105.6 kB / 15.99 MB, free: 6.348 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.001203/0.001203, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.327/1.327, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.561/2.561, allocations: 469.8 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002039, allocations: 72.73 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002112/0.3334, allocations: 0.7118 MB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3351, allocations: 1.19 MB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.3352, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.3352, allocations: 3.984 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.3353, allocations: 11.92 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.336, allocations: 199 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.3362, allocations: 187.7 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.3363, allocations: 8 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3365, allocations: 67.83 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3366, allocations: 51.86 kB / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.3366, allocations: 16 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/0.3367, allocations: 31.98 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.3367, allocations: 7.938 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.633e-05/0.3368, allocations: 59.88 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.337, allocations: 103.8 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.337, allocations: 3.984 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.337, allocations: 3.938 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.337, allocations: 4 kB / 1.067 GB, free: 12.46 MB / 0.8419 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.0007094/0.3378, allocations: 427 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.3378, allocations: 8.031 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.3379, allocations: 16.78 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.3381, allocations: 168.4 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.3381, allocations: 8.375 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.3382, allocations: 8.375 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3383, allocations: 58.17 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3383, allocations: 192 / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3384, allocations: 3.938 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3384, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.671e-05/0.3384, allocations: 12 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.339, allocations: 356.7 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.762e-05/0.3391, allocations: 42.44 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.3391, allocations: 12.86 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3392, allocations: 4 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.3394, allocations: 83.44 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.3394, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0002704/0.3396, allocations: 105.5 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3397, allocations: 55.41 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3398, allocations: 113.8 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.3399, allocations: 33.7 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.3399, allocations: 92.03 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.34, allocations: 15.89 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3401, allocations: 49.69 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3403, allocations: 318.8 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.3404, allocations: 67.95 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3406, allocations: 84.64 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.3408, allocations: 167.6 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3408, allocations: 4 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004403/0.3413, allocations: 260.8 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-05/0.3413, allocations: 67.39 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3413, allocations: 4 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.3414, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.288e-05/0.3414, allocations: 4 kB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3414, allocations: 0 / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.3418, allocations: 68.02 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.3418, allocations: 8 kB / 1.069 GB, free: 9.484 MB / 0.8419 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.0001265/0.3419, allocations: 137.2 kB / 1.069 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.342, allocations: 7.938 kB / 1.069 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.342, allocations: 12.38 kB / 1.069 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.342, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.342, allocations: 4 kB / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.342, allocations: 3.984 kB / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.3422, allocations: 177.6 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3422, allocations: 0 / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-06/0.3422, allocations: 0 / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3422, allocations: 0 / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3422, allocations: 4 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3422, allocations: 0 / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3423, allocations: 0 / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.3425, allocations: 120.9 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.3425, allocations: 81.02 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3426, allocations: 3.938 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.3426, allocations: 11.98 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3426, allocations: 3.938 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3426, allocations: 4 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.3427, allocations: 91.27 kB / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3427, allocations: 0 / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003031/0.343, allocations: 36 kB / 1.07 GB, free: 8.707 MB / 0.8419 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.0001634/0.3432, allocations: 107.2 kB / 1.07 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.3436, allocations: 247 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3436, allocations: 4 kB / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.3436, allocations: 27.94 kB / 1.07 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3439, allocations: 16.12 kB / 1.07 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.3442, allocations: 192.7 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3446, allocations: 0.6885 MB / 1.071 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.3446, allocations: 11.44 kB / 1.071 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3446, allocations: 0 / 1.071 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of Templates: time 0.003293/0.3479, allocations: 1.392 MB / 1.073 GB, free: 5.961 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches