Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 212.4 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.214/3.214, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 72.56 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001846/0.3362, allocations: 0.6468 MB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3378, allocations: 1.202 MB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.3378, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.3379, allocations: 7.922 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.3379, allocations: 7.922 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.3386, allocations: 221.2 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.3389, allocations: 167.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.339, allocations: 12 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.3391, allocations: 75.88 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.3392, allocations: 71.72 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.3392, allocations: 16 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.3393, allocations: 27.98 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.3393, allocations: 8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.333e-05/0.3394, allocations: 63.81 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.3396, allocations: 143.6 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3396, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3396, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3396, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 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.0005495/0.3402, allocations: 363.4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3402, allocations: 16.03 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.3403, allocations: 8.922 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3404, allocations: 122.4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3404, allocations: 4.375 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.3404, allocations: 12.38 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.3406, allocations: 50.23 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3406, allocations: 192 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3406, allocations: 3.938 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3406, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.68e-05/0.3406, allocations: 8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.341, allocations: 276.4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.409e-05/0.3411, allocations: 34.56 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.3412, allocations: 16.8 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.3412, allocations: 4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.3413, allocations: 87.34 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3413, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002538/0.3416, allocations: 109.5 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3416, allocations: 55.39 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3417, allocations: 114.1 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.3418, allocations: 33.7 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.3418, allocations: 96.12 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.3419, allocations: 12 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.342, allocations: 53.62 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3421, allocations: 322.8 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.3423, allocations: 115.4 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.3425, allocations: 156.2 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.3427, allocations: 163.5 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3427, allocations: 4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004995/0.3432, allocations: 328.2 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.3433, allocations: 69.27 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3433, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3433, allocations: 4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.818e-05/0.3433, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3433, allocations: 4.062 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.3437, allocations: 60.02 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.3437, allocations: 15.98 kB / 1.332 GB, free: 11.36 MB / 1.029 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.0001154/0.3438, allocations: 129.7 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.3438, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.3438, allocations: 8.375 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3439, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3439, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3439, allocations: 3.984 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.344, allocations: 117.2 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.344, allocations: 4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.395e-05/0.344, allocations: 4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.344, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3441, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3441, allocations: 96 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.3441, allocations: 7.938 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.3443, allocations: 120.9 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.3443, allocations: 3.953 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.3443, allocations: 7.984 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.3443, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.3444, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.3444, allocations: 11.98 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.3444, allocations: 87.28 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3444, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000262/0.3447, allocations: 31.98 kB / 1.333 GB, free: 10.75 MB / 1.029 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.0001227/0.3448, allocations: 99.23 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004108/0.3452, allocations: 282.1 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3452, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.209e-05/0.3453, allocations: 28.17 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3455, allocations: 23.92 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.3458, allocations: 146.8 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.26e-05/0.3459, allocations: 71.33 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.3459, allocations: 7.984 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.346, allocations: 15.44 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.346, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of Templates: time 0.004927/0.3509, allocations: 2.104 MB / 1.336 GB, free: 7.941 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.821289658997557]