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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 188.6 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.907/2.907, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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=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 0.001813/0.001813, allocations: 67.89 kB / 1.11 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 168.8 MB / 1.274 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002237/1.034, allocations: 0.6666 MB / 1.275 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001786/1.036, allocations: 1.194 MB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/1.036, allocations: 0 / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/1.036, allocations: 3.938 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/1.036, allocations: 15.91 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007015/1.037, allocations: 221.8 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/1.037, allocations: 171.7 kB / 1.277 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/1.037, allocations: 11.98 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/1.037, allocations: 67.89 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/1.037, allocations: 63.84 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/1.038, allocations: 16 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-05/1.038, allocations: 27.98 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/1.038, allocations: 4 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/1.038, allocations: 55.83 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/1.038, allocations: 159.2 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.038, allocations: 0 / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.097e-06/1.038, allocations: 3.984 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.603e-06/1.038, allocations: 0 / 1.277 GB, free: 1.582 MB / 0.9669 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.0006357/1.039, allocations: 360.2 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.039, allocations: 8.031 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/1.039, allocations: 12.89 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/1.039, allocations: 122.4 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.039, allocations: 8.312 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/1.039, allocations: 8.375 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/1.039, allocations: 54.25 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.039, allocations: 192 / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/1.039, allocations: 7.922 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/1.039, allocations: 0 / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.51e-05/1.039, allocations: 12 kB / 1.278 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/1.04, allocations: 323.8 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.864e-05/1.04, allocations: 34.52 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/1.04, allocations: 18.52 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/1.04, allocations: 0 / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/1.04, allocations: 79.31 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/1.04, allocations: 0 / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002781/1.04, allocations: 109.6 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/1.04, allocations: 51.41 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/1.04, allocations: 129.8 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/1.04, allocations: 29.7 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/1.041, allocations: 92.09 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/1.041, allocations: 11.91 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/1.041, allocations: 53.67 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.041, allocations: 318.8 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/1.041, allocations: 55.97 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/1.041, allocations: 108.2 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/1.041, allocations: 160 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.041, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004311/1.042, allocations: 268.8 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/1.042, allocations: 67.41 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.042, allocations: 3.984 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/1.042, allocations: 3.984 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.278e-05/1.042, allocations: 4 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/1.042, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/1.042, allocations: 59.89 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/1.042, allocations: 23.98 kB / 1.279 GB, free: 14.77 MB / 0.9825 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.0001235/1.042, allocations: 124 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/1.042, allocations: 3.953 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/1.042, allocations: 8.375 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/1.042, allocations: 0 / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.042, allocations: 0 / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.042, allocations: 0 / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/1.043, allocations: 156.6 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.043, allocations: 4 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-05/1.043, allocations: 4 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.043, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/1.043, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.043, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.043, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/1.043, allocations: 117.2 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/1.043, allocations: 4 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/1.043, allocations: 3.984 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/1.043, allocations: 4 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/1.043, allocations: 11.98 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/1.043, allocations: 4 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.9e-05/1.043, allocations: 83.28 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.043, allocations: 4.281 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002345/1.043, allocations: 31.98 kB / 1.28 GB, free: 14.15 MB / 0.9825 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.0001557/1.043, allocations: 99.19 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003705/1.044, allocations: 238.6 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.044, allocations: 0 / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/1.044, allocations: 27.86 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/1.044, allocations: 22.3 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/1.044, allocations: 158.8 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/1.045, allocations: 0.6887 MB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.738e-05/1.045, allocations: 7.984 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/1.045, allocations: 7.438 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/1.045, allocations: 4 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.005385/1.05, allocations: 1.861 MB / 1.283 GB, free: 10.98 MB / 0.9825 GB " [Timeout remaining time 299] 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: 9.514074621722102]