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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008427/0.0008428, allocations: 99.58 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 182.7 kB / 16.92 MB, free: 6.918 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.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 8 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.6936, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0009676/0.6946, allocations: 401 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.6965, allocations: 1.191 MB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.6966, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.6966, allocations: 3.938 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.6967, allocations: 11.92 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.6974, allocations: 200.4 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.6975, allocations: 151.7 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.6977, allocations: 11.98 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.6978, allocations: 51.91 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.6979, allocations: 47.86 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.6979, allocations: 8 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.698, allocations: 31.92 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.6981, allocations: 7.984 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.6982, allocations: 73.53 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.6983, allocations: 103.8 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6984, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6984, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.6984, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 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.0005039/0.6989, allocations: 412.7 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.6989, allocations: 8.031 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.699, allocations: 12.88 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.6991, allocations: 176.2 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.6992, allocations: 4.375 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.6992, allocations: 16.38 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.6993, allocations: 50.23 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6993, allocations: 4.125 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.6993, allocations: 3.938 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.6994, allocations: 4 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.6994, allocations: 11.94 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.6999, allocations: 352.8 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.578e-05/0.7, allocations: 38.48 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.7001, allocations: 20.8 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.7001, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.7003, allocations: 91.34 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.7003, allocations: 4 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000258/0.7006, allocations: 101.7 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.7006, allocations: 55.34 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/0.7007, allocations: 117.8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.7007, allocations: 33.7 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.7008, allocations: 96.12 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.7008, allocations: 11.8 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.7009, allocations: 21.72 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.701, allocations: 326.8 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.7011, allocations: 59.97 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.7013, allocations: 92.25 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.7015, allocations: 160 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7015, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004133/0.7019, allocations: 260.9 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.702, allocations: 69.27 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.702, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.702, allocations: 4 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.361e-05/0.702, allocations: 3.938 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.702, allocations: 7.984 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.7025, allocations: 83.91 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.7025, allocations: 15.98 kB / 1.029 GB, free: 10.57 MB / 0.7794 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 9.784e-05/0.7026, allocations: 121.8 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.7026, allocations: 7.906 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.7027, allocations: 8.375 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7027, allocations: 0 / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.7027, allocations: 0 / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7027, allocations: 3.984 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.7028, allocations: 173.6 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7028, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.7029, allocations: 15.88 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.7029, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.7029, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7029, allocations: 3.984 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7029, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.703, allocations: 109 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.7031, allocations: 89 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.7031, allocations: 4 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.7031, allocations: 8.062 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.7032, allocations: 7.984 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.7032, allocations: 4 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.7032, allocations: 95.2 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.744e-06/0.7032, allocations: 0 / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002413/0.7035, allocations: 31.94 kB / 1.029 GB, free: 9.809 MB / 0.7794 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.0001515/0.7036, allocations: 103.2 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.704, allocations: 254.6 kB / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.704, allocations: 0 / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.195e-05/0.704, allocations: 23.98 kB / 1.03 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.7043, allocations: 18.09 kB / 1.03 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.7046, allocations: 201.2 kB / 1.03 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.7049, allocations: 0.6887 MB / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.7049, allocations: 11.44 kB / 1.03 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7049, allocations: 0 / 1.03 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of Templates: time 0.003073/0.708, allocations: 1.379 MB / 1.032 GB, free: 7.07 MB / 0.7794 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