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.0008547/0.0008547, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.00199, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006859/0.0006859, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000901/0.001587, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9577/0.9577, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08921/1.047, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.873/1.873, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5359/2.409, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.7297 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.263e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001356/0.001379, allocations: 0.6998 MB / 0.7303 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.002478, allocations: 1.244 MB / 0.7316 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.002514, allocations: 0 / 0.7316 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.002535, allocations: 8.844 kB / 0.7316 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.002578, allocations: 11.97 kB / 0.7316 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.002945, allocations: 207.2 kB / 0.7318 GB, free: 2.281 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.003205, allocations: 176.5 kB / 0.7319 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.373e-05/0.003289, allocations: 4.547 kB / 0.7319 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.003716, allocations: 102.9 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.003833, allocations: 56.41 kB / 0.7321 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.00386, allocations: 16 kB / 0.7321 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-05/0.003941, allocations: 20.98 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.003972, allocations: 13.73 kB / 0.7321 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.004017, allocations: 31.94 kB / 0.7322 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.004183, allocations: 111.7 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/0.004198, allocations: 0 / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004199, allocations: 0.5 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.004213, allocations: 1.125 kB / 0.7323 GB, free: 1.781 MB / 0.698 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.0004411/0.004654, allocations: 343.9 kB / 0.7326 GB, free: 1.406 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.004688, allocations: 8.031 kB / 0.7326 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.004732, allocations: 13.89 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.004825, allocations: 117.7 kB / 0.7327 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.004838, allocations: 6.094 kB / 0.7328 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.004862, allocations: 16.36 kB / 0.7328 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.793e-05/0.00494, allocations: 46.17 kB / 0.7328 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.004947, allocations: 192 / 0.7328 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.004955, allocations: 4.375 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.00496, allocations: 1.188 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.503e-05/0.004975, allocations: 15.92 kB / 0.7328 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.005223, allocations: 176.8 kB / 0.733 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.83e-05/0.005282, allocations: 32.17 kB / 0.733 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.005295, allocations: 8.859 kB / 0.733 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.005301, allocations: 0 / 0.733 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.975e-05/0.005401, allocations: 83.45 kB / 0.7331 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005402, allocations: 0.875 kB / 0.7331 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001279/0.005529, allocations: 73.55 kB / 0.7332 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.005562, allocations: 60.42 kB / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.005626, allocations: 126.6 kB / 0.7334 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.005649, allocations: 29.7 kB / 0.7334 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.005687, allocations: 89.84 kB / 0.7335 GB, free: 424 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.005705, allocations: 23.86 kB / 0.7335 GB, free: 400 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.005759, allocations: 41.67 kB / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.005833, allocations: 318.8 kB / 0.7338 GB, free: 24 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.96e-05/0.005932, allocations: 100.5 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.006019, allocations: 135.2 kB / 0.7341 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.006126, allocations: 145.3 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006128, allocations: 0 / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002042/0.006333, allocations: 269.3 kB / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.006388, allocations: 67.39 kB / 0.7345 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.006396, allocations: 8.875 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.006411, allocations: 0 / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.1e-05/0.006432, allocations: 4.594 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.006435, allocations: 0 / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.006603, allocations: 45.22 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.006624, allocations: 13.14 kB / 0.7346 GB, free: 15.15 MB / 0.7136 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 7.889e-05/0.006703, allocations: 117.8 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.006718, allocations: 8.906 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.006749, allocations: 16.36 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.006752, allocations: 0 / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.006756, allocations: 0.8125 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.00676, allocations: 0 / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.611e-05/0.006846, allocations: 83.25 kB / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006847, allocations: 0 / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-06/0.006854, allocations: 0 / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.006864, allocations: 7.953 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006866, allocations: 1.25 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-06/0.00687, allocations: 0 / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.006873, allocations: 3.938 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.006874, allocations: 1.188 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.406e-05/0.006968, allocations: 85.03 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.006979, allocations: 8.047 kB / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.641e-05/0.006996, allocations: 9.25 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.007026, allocations: 3.938 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.007033, allocations: 7.984 kB / 0.7349 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.756e-05/0.00705, allocations: 8.859 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00705, allocations: 1.031 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001332/0.007183, allocations: 35.94 kB / 0.735 GB, free: 14.71 MB / 0.7136 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.0001349/0.007318, allocations: 86.5 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.007522, allocations: 266.9 kB / 0.7353 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.007527, allocations: 4 kB / 0.7353 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.007555, allocations: 22.06 kB / 0.7353 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.007715, allocations: 124.9 kB / 0.7355 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.008145, allocations: 160.4 kB / 0.7356 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.182e-05/0.008177, allocations: 59.34 kB / 0.7357 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.008199, allocations: 4 kB / 0.7357 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.598e-05/0.008295, allocations: 79.28 kB / 0.7358 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/0.008296, allocations: 0 / 0.7358 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of Templates: time 0.003785/0.01208, allocations: 2.266 MB / 0.738 GB, free: 11.67 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.959221862256527]