Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001332/0.001332, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001577/0.001577, allocations: 213 kB / 23.01 MB, free: 4.566 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.383/3.383, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002031/0.002031, allocations: 74.09 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3529, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001932/0.3549, allocations: 0.6489 MB / 1.355 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.3565, allocations: 1.233 MB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.3566, allocations: 0 / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.3566, allocations: 3.938 kB / 1.356 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.811e-05/0.3567, allocations: 11.86 kB / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.3574, allocations: 216.6 kB / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.3576, allocations: 175.7 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.3577, allocations: 11.98 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3578, allocations: 67.89 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.358, allocations: 59.86 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.358, allocations: 23.92 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-05/0.3581, allocations: 27.98 kB / 1.357 GB, free: 5.453 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.3581, allocations: 15.92 kB / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.646e-05/0.3582, allocations: 51.91 kB / 1.357 GB, free: 5.387 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.3585, allocations: 151.5 kB / 1.357 GB, free: 5.238 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3585, allocations: 4 kB / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3585, allocations: 0 / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3585, allocations: 0 / 1.357 GB, free: 5.234 MB / 1.045 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.0005573/0.359, allocations: 365.5 kB / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3591, allocations: 12.03 kB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.3591, allocations: 12.89 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3592, allocations: 110.5 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3592, allocations: 4.375 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.3593, allocations: 8.375 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.3594, allocations: 58.17 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3594, allocations: 192 / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3594, allocations: 7.938 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3594, allocations: 0 / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.3595, allocations: 19.92 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.36, allocations: 323.8 kB / 1.358 GB, free: 4.215 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.338e-05/0.3601, allocations: 38.44 kB / 1.358 GB, free: 4.168 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.3601, allocations: 20.86 kB / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.3601, allocations: 0 / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.3603, allocations: 79.45 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3603, allocations: 0 / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002655/0.3606, allocations: 105.6 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.3606, allocations: 51.41 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3607, allocations: 113.8 kB / 1.358 GB, free: 3.762 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.3608, allocations: 33.7 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.3608, allocations: 100.1 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3609, allocations: 15.89 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.813e-05/0.361, allocations: 49.69 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3611, allocations: 322.8 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3613, allocations: 55.97 kB / 1.359 GB, free: 3.172 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.3614, allocations: 100.2 kB / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.3616, allocations: 159.6 kB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3616, allocations: 0 / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004387/0.3621, allocations: 265.4 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/0.3621, allocations: 75.36 kB / 1.359 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3621, allocations: 4 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3621, allocations: 0 / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.091e-05/0.3622, allocations: 4 kB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3622, allocations: 0 / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.3625, allocations: 55.89 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.3625, allocations: 11.98 kB / 1.359 GB, free: 2.438 MB / 1.045 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.0001167/0.3627, allocations: 138.2 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.3627, allocations: 11.94 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.3627, allocations: 8.375 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3627, allocations: 4 kB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3627, allocations: 0 / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3627, allocations: 0 / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.3629, allocations: 144.7 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3629, allocations: 3.984 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.714e-06/0.3629, allocations: 0 / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3629, allocations: 4 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3629, allocations: 4 kB / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3629, allocations: 0 / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3629, allocations: 0 / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.363, allocations: 113 kB / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.3631, allocations: 3.953 kB / 1.36 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.3631, allocations: 4 kB / 1.36 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.3631, allocations: 4 kB / 1.36 GB, free: 1.934 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.3631, allocations: 11.92 kB / 1.36 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3632, allocations: 4 kB / 1.36 GB, free: 1.918 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.3632, allocations: 91.27 kB / 1.36 GB, free: 1.828 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3632, allocations: 0 / 1.36 GB, free: 1.828 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002407/0.3635, allocations: 35.94 kB / 1.36 GB, free: 1.793 MB / 1.045 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.0001614/0.3636, allocations: 103.2 kB / 1.36 GB, free: 1.684 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.364, allocations: 222.8 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.364, allocations: 0 / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.484e-05/0.364, allocations: 24 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.3643, allocations: 18.27 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.3647, allocations: 192.4 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.365, allocations: 0.6846 MB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.365, allocations: 15.5 kB / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.365, allocations: 0 / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of Templates: time 0.003411/0.3684, allocations: 1.395 MB / 1.362 GB, free: 15.07 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.398485603014706]